mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
media: ov05c10: Set reset GPIO high when acquiring it
Set the reset GPIO high when it is acquired. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Tarang Raval <tarang.raval@siliconsignals.io> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
fd996bd043
commit
6525548afe
|
|
@ -765,7 +765,7 @@ static int ov05c10_get_pm_resources(struct device *dev)
|
|||
return dev_err_probe(dev, PTR_ERR(ov05c10->avdd),
|
||||
"failed to get avdd regulator\n");
|
||||
|
||||
ov05c10->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW);
|
||||
ov05c10->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH);
|
||||
if (IS_ERR(ov05c10->reset))
|
||||
return dev_err_probe(dev, PTR_ERR(ov05c10->reset),
|
||||
"failed to get reset gpio\n");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user