media: i2c: ov2735: request reset GPIO as initially asserted

The reset GPIO must be requested in the asserted (HIGH) state to keep
the sensor in standby during probe and power sequencing.

Signed-off-by: Elgin Perumbilly <elgin.perumbilly@siliconsignals.io>
Acked-by: Tarang Raval <tarang.raval@siliconsignals.io>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
Elgin Perumbilly
2026-01-14 23:33:04 +01:00
committed by Hans Verkuil
parent 290fb5a1b4
commit 1a84924258
+1 -1
View File
@@ -993,7 +993,7 @@ static int ov2735_probe(struct i2c_client *client)
"failed to parse endpoint configuration\n");
ov2735->reset_gpio = devm_gpiod_get_optional(ov2735->dev,
"reset", GPIOD_OUT_LOW);
"reset", GPIOD_OUT_HIGH);
if (IS_ERR(ov2735->reset_gpio))
return dev_err_probe(ov2735->dev, PTR_ERR(ov2735->reset_gpio),
"failed to get reset GPIO\n");