mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[media] adv7604: Set HPD GPIO direction to output
The HPD GPIO is used as an output but its direction is never set. Fix it. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
6fa88045ef
commit
9b2c38239d
1 changed files with 1 additions and 1 deletions
|
|
@ -2797,7 +2797,7 @@ static int adv7604_probe(struct i2c_client *client,
|
|||
if (IS_ERR(state->hpd_gpio[i]))
|
||||
continue;
|
||||
|
||||
gpiod_set_value_cansleep(state->hpd_gpio[i], 0);
|
||||
gpiod_direction_output(state->hpd_gpio[i], 0);
|
||||
|
||||
v4l_info(client, "Handling HPD %u GPIO\n", i);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue