Skip to content
Commit 8d744da2 authored by Sergey Shtylyov's avatar Sergey Shtylyov Committed by Wolfram Sang
Browse files

i2c: synquacer: fix deferred probing



The driver overrides the error codes returned by platform_get_irq() to
-ENODEV, so if it returns -EPROBE_DEFER, the driver will fail the probe
permanently instead of the deferred probing. Switch to propagating the
error codes upstream.

Fixes: 0d676a6c ("i2c: add support for Socionext SynQuacer I2C controller")
Signed-off-by: default avatarSergey Shtylyov <s.shtylyov@omprussia.ru>
Acked-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent e47a0ced
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment