]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: sa1111: fix error code propagation in sa1111_probe()
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 3 Sep 2016 09:21:51 +0000 (10:21 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 12 Sep 2016 10:04:03 +0000 (11:04 +0100)
commit671ac3a5707e2391b65b33f2291d283296b31c12
tree2229f4abb2f009e3e503bb586dde6a8130a3c4ba
parentf59544bfd3b0316d82af961951ee86293018e84f
ARM: sa1111: fix error code propagation in sa1111_probe()

Ensure that we propagate the platform_get_irq() error code out of the
probe function.  This allows probe deferrals to work correctly should
platform_get_irq() not be able to resolve the interrupt in a DT
environment at probe time.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/common/sa1111.c