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, 12 Sep 2016 08:35:40 +0000 (10:35 +0200)
commitbcb2085f7a124f8a1e3a7b97a372b32ca8d312b6
treee88a34098bdd25c1b3d9422b78e1c034ab75e88b
parentccd3ad8b767de05ac058f80e4e431d291ec5e881
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
This page took 0.024301 seconds and 5 git commands to generate.