media: i2c: propagate GPIO errors
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | media: i2c: ov2685: propagate reset GPIO errorsdrivers/ | +3 | 0 replies | |
| 2/3 | media: i2c: ov2732: propagate GPIO errorsdrivers/ | +6 | 0 replies | |
| 3/3 | media: i2c: ov5647: propagate pwdn GPIO errorsdrivers/ | +3 | 1 reply |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Dave Stevenson |
|---|---|
| 1/3 | |
| 2/3 | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] media: i2c: propagate GPIO errors
From: bui duc phuc <[email protected]>
Hi all,
Some drivers use devm_gpiod_get_optional(), but do not properly handle errors returned by the GPIO lookup.
This series fixes the error handling in three drivers by propagating the errors returned by devm_gpiod_get_optional().
Compile-tested only.
Best regards,
Phuc
bui duc phuc (3):
media: i2c: ov2685: propagate reset GPIO errors
media: i2c: ov2732: propagate GPIO errors
media: i2c: ov5647: propagate pwdn GPIO errors
drivers/media/i2c/ov2685.c | 7 +++---- drivers/media/i2c/ov2732.c | 6 ++++++ drivers/media/i2c/ov5647.c | 7 +++---- 3 files changed, 12 insertions(+), 8 deletions(-)
Signature · 1 line
2.43.0