Skip to content

Commit fce08b2

Browse files
committed
FROMLIST: media: i2c: imx412: Assert reset GPIO during probe
Assert the reset GPIO before first power up. This avoids a mismatch where the first power up (when the reset GPIO defaults deasserted) differs from subsequent cycles. Link: https://lore.kernel.org/all/20260123-imx412-v7-1-e58303f2b76b@oss.qualcomm.com/ Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
1 parent 14326eb commit fce08b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/media/i2c/imx412.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ static int imx412_parse_hw_config(struct imx412 *imx412)
925925

926926
/* Request optional reset pin */
927927
imx412->reset_gpio = devm_gpiod_get_optional(imx412->dev, "reset",
928-
GPIOD_OUT_LOW);
928+
GPIOD_OUT_HIGH);
929929
if (IS_ERR(imx412->reset_gpio)) {
930930
dev_err(imx412->dev, "failed to get reset gpio %pe\n",
931931
imx412->reset_gpio);

0 commit comments

Comments
 (0)