diff options
Diffstat (limited to 'drivers/mmc')
| -rw-r--r-- | drivers/mmc/host/at91_mci.c | 1 | ||||
| -rw-r--r-- | drivers/mmc/host/mmci.c | 2 | ||||
| -rw-r--r-- | drivers/mmc/host/sdhci-esdhc-imx.c | 6 |
3 files changed, 4 insertions, 5 deletions
diff --git a/drivers/mmc/host/at91_mci.c b/drivers/mmc/host/at91_mci.c index 947faa5d2ce4..efdb81d21c44 100644 --- a/drivers/mmc/host/at91_mci.c +++ b/drivers/mmc/host/at91_mci.c | |||
| @@ -86,7 +86,6 @@ static inline int at91mci_is_mci1rev2xx(void) | |||
| 86 | { | 86 | { |
| 87 | return ( cpu_is_at91sam9260() | 87 | return ( cpu_is_at91sam9260() |
| 88 | || cpu_is_at91sam9263() | 88 | || cpu_is_at91sam9263() |
| 89 | || cpu_is_at91cap9() | ||
| 90 | || cpu_is_at91sam9rl() | 89 | || cpu_is_at91sam9rl() |
| 91 | || cpu_is_at91sam9g10() | 90 | || cpu_is_at91sam9g10() |
| 92 | || cpu_is_at91sam9g20() | 91 | || cpu_is_at91sam9g20() |
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index 0d955ffaf44e..304f2f98b680 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c | |||
| @@ -1325,7 +1325,7 @@ static int __devinit mmci_probe(struct amba_device *dev, | |||
| 1325 | if (ret) | 1325 | if (ret) |
| 1326 | goto unmap; | 1326 | goto unmap; |
| 1327 | 1327 | ||
| 1328 | if (dev->irq[1] == NO_IRQ) | 1328 | if (dev->irq[1] == NO_IRQ || !dev->irq[1]) |
| 1329 | host->singleirq = true; | 1329 | host->singleirq = true; |
| 1330 | else { | 1330 | else { |
| 1331 | ret = request_irq(dev->irq[1], mmci_pio_irq, IRQF_SHARED, | 1331 | ret = request_irq(dev->irq[1], mmci_pio_irq, IRQF_SHARED, |
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index d601e41af282..f4e82d45cafa 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c | |||
| @@ -463,7 +463,7 @@ static int __devinit sdhci_esdhc_imx_probe(struct platform_device *pdev) | |||
| 463 | err = PTR_ERR(clk); | 463 | err = PTR_ERR(clk); |
| 464 | goto err_clk_get; | 464 | goto err_clk_get; |
| 465 | } | 465 | } |
| 466 | clk_enable(clk); | 466 | clk_prepare_enable(clk); |
| 467 | pltfm_host->clk = clk; | 467 | pltfm_host->clk = clk; |
| 468 | 468 | ||
| 469 | if (!is_imx25_esdhc(imx_data)) | 469 | if (!is_imx25_esdhc(imx_data)) |
| @@ -558,7 +558,7 @@ no_card_detect_irq: | |||
| 558 | gpio_free(boarddata->wp_gpio); | 558 | gpio_free(boarddata->wp_gpio); |
| 559 | no_card_detect_pin: | 559 | no_card_detect_pin: |
| 560 | no_board_data: | 560 | no_board_data: |
| 561 | clk_disable(pltfm_host->clk); | 561 | clk_disable_unprepare(pltfm_host->clk); |
| 562 | clk_put(pltfm_host->clk); | 562 | clk_put(pltfm_host->clk); |
| 563 | err_clk_get: | 563 | err_clk_get: |
| 564 | kfree(imx_data); | 564 | kfree(imx_data); |
| @@ -585,7 +585,7 @@ static int __devexit sdhci_esdhc_imx_remove(struct platform_device *pdev) | |||
| 585 | gpio_free(boarddata->cd_gpio); | 585 | gpio_free(boarddata->cd_gpio); |
| 586 | } | 586 | } |
| 587 | 587 | ||
| 588 | clk_disable(pltfm_host->clk); | 588 | clk_disable_unprepare(pltfm_host->clk); |
| 589 | clk_put(pltfm_host->clk); | 589 | clk_put(pltfm_host->clk); |
| 590 | kfree(imx_data); | 590 | kfree(imx_data); |
| 591 | 591 | ||
