commit | 0a782cb1fc2407163123fccd01f65da70d4d2cd8 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Wed Apr 20 11:16:26 2016 +0900 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon May 02 10:33:32 2016 +0200 |
tree | 8b20c897a1bef847e6c5e0f3c05de8b177a7e3fe | |
parent | 0b2ed795e1f49dace195f3a4d35eee281b6cfbbf [diff] |
mmc: sdhci-pltfm: check return value of platform_get_irq() The function platform_get_irq() can fail; it returns a negative error code on failure. A negative IRQ number will make sdhci_add_host() fail to request IRQ anyway, but it makes sense to let it fail earlier here. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>