summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-s3c2410.c
diff options
context:
space:
mode:
authorSergey Shtylyov <s.shtylyov@omp.ru>2021-08-12 23:35:09 +0300
committerWolfram Sang <wsa@kernel.org>2021-08-19 20:18:17 +0300
commita1299505162ad00def3573260c2c68b9c8e8d697 (patch)
tree48017b34f387db6f3cbe4bcdb9680ab771062adb /drivers/i2c/busses/i2c-s3c2410.c
parent8d744da241b81f4211f4813b0d3c1981326fa9ca (diff)
downloadlinux-a1299505162ad00def3573260c2c68b9c8e8d697.tar.xz
i2c: iop3xx: fix deferred probing
When adding the code to handle platform_get_irq*() errors in the commit 489447380a29 ("handle errors returned by platform_get_irq*()"), the actual error code was enforced to be -ENXIO in the driver for some strange reason. This didn't matter much until the deferred probing was introduced -- which requires an actual error code to be propagated upstream from the failure site. While fixing this, also stop overriding the errors from request_irq() to -EIO (done since the pre-git era). Fixes: 489447380a29 ("[PATCH] handle errors returned by platform_get_irq*()") Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-s3c2410.c')
0 files changed, 0 insertions, 0 deletions