Skip to content
Unverified Commit f34c6e62 authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Mark Brown
Browse files

spi: sh-msiof: fix deferred probing



Since commit 9ec36caf ("of/irq: do irq resolution in platform_get_irq")
platform_get_irq() can return -EPROBE_DEFER. However, the driver overrides
an error returned by that function with -ENOENT which breaks the deferred
probing. Propagate upstream an error code returned by platform_get_irq()
and remove the bogus "platform" from the error message, while at it...

Fixes: 9ec36caf ("of/irq: do irq resolution in platform_get_irq")
Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent dd8fd2cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment