mmc: sdhci-acpi: Fix IRQ 0
authorAdrian Hunter <[email protected]>
Wed, 21 Mar 2018 09:49:40 +0000 (11:49 +0200)
committerUlf Hansson <[email protected]>
Wed, 21 Mar 2018 10:10:20 +0000 (11:10 +0100)
commitd58ac803cfbb92ede501409dd6afe9abb111d4f1
tree570432a478c56a8554ef3251ddfd6eea89edb4bb
parent47b7de2f6c18f75d1f2716efe752cba43f32a626
mmc: sdhci-acpi: Fix IRQ 0

Zero is a valid IRQ number and is being used on some CHT tablets. Stop
treating it as an error.

Reported-by: Luke Ross <[email protected]>
Fixes: 1b7ba57ecc86 ("mmc: sdhci-acpi: Handle return value of platform_get_irq")
Cc: Arvind Yadav <[email protected]>
Signed-off-by: Adrian Hunter <[email protected]>
Cc: [email protected]
Signed-off-by: Ulf Hansson <[email protected]>
drivers/mmc/host/sdhci-acpi.c