Files
twx-linux/drivers
Sergey Shtylyov 3170a1d76e i2c: s3c2410: fix IRQ check
[ Upstream commit d6840a5e37 ]

Iff platform_get_irq() returns 0, the driver's probe() method will return 0
early (as if the method's call was successful).  Let's consider IRQ0 valid
for simplicity -- devm_request_irq() can always override that decision...

Fixes: e0d1ec9785 ("i2c-s3c2410: Change IRQ to be plain integer.")
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-22 11:43:01 +02:00
..
…
2021-09-22 11:42:58 +02:00
…
…
…
…
…
…
…
…
…
…
…
2021-09-22 11:43:01 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-09-03 09:44:40 +02:00
…
…
…
…
…
…
…