diff options
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
-rw-r--r-- | drivers/mmc/host/sdhci.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 206b52fec443..101f9d43196f 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
@@ -3033,8 +3033,11 @@ int sdhci_add_host(struct sdhci_host *host) | |||
3033 | 3033 | ||
3034 | ret = request_irq(host->irq, sdhci_irq, IRQF_SHARED, | 3034 | ret = request_irq(host->irq, sdhci_irq, IRQF_SHARED, |
3035 | mmc_hostname(mmc), host); | 3035 | mmc_hostname(mmc), host); |
3036 | if (ret) | 3036 | if (ret) { |
3037 | pr_err("%s: Failed to request IRQ %d: %d\n", | ||
3038 | mmc_hostname(mmc), host->irq, ret); | ||
3037 | goto untasklet; | 3039 | goto untasklet; |
3040 | } | ||
3038 | 3041 | ||
3039 | sdhci_init(host, 0); | 3042 | sdhci_init(host, 0); |
3040 | 3043 | ||
@@ -3051,8 +3054,11 @@ int sdhci_add_host(struct sdhci_host *host) | |||
3051 | host->led.brightness_set = sdhci_led_control; | 3054 | host->led.brightness_set = sdhci_led_control; |
3052 | 3055 | ||
3053 | ret = led_classdev_register(mmc_dev(mmc), &host->led); | 3056 | ret = led_classdev_register(mmc_dev(mmc), &host->led); |
3054 | if (ret) | 3057 | if (ret) { |
3058 | pr_err("%s: Failed to register LED device: %d\n", | ||
3059 | mmc_hostname(mmc), ret); | ||
3055 | goto reset; | 3060 | goto reset; |
3061 | } | ||
3056 | #endif | 3062 | #endif |
3057 | 3063 | ||
3058 | mmiowb(); | 3064 | mmiowb(); |