Skip to content

media: i2c: propagate GPIO errors

[email protected] linux-media lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3media: i2c: ov2685: propagate reset GPIO errorsdrivers/media/i2c/ov2685.c+3 -40 replies
2/3media: i2c: ov2732: propagate GPIO errorsdrivers/media/i2c/ov2732.c+6 -00 replies
3/3media: i2c: ov5647: propagate pwdn GPIO errorsdrivers/media/i2c/ov5647.c+3 -41 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchDave Stevenson
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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