Skip to content
Commit 60f675a1 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Grant Likely
Browse files

spi-imx: correct check for platform_get_irq failing



platform_get_irq returns -ENXIO if there is no entry.  So ensure
return value is greater than zero instead of non-zero.

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 30eaed05
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment