mmc: davinci: remove incorrect NO_IRQ use
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Sep 2016 12:56:09 +0000 (14:56 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Sep 2016 19:31:25 +0000 (21:31 +0200)
commit902a8a0b50d7d13cf88211d0bde3a7c27fd98fa5
tree2da4826b9b601c64fd1c48c8dfee3f5bc3abefbe
parent7428e0bf7e87627af880b013f5f4648f07f70842
mmc: davinci: remove incorrect NO_IRQ use

platform_get_irq() returns an error value on failure, not NO_IRQ,
so the error handling here could never work.

This changes the code to propagate the error value instead.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/davinci_mmc.c