diff options
Diffstat (limited to 'drivers/media/i2c/adv7604.c')
-rw-r--r-- | drivers/media/i2c/adv7604.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 1493de6c246f..1a2797bfd12e 100644 --- a/drivers/media/i2c/adv7604.c +++ b/drivers/media/i2c/adv7604.c | |||
@@ -2797,7 +2797,7 @@ static int adv7604_probe(struct i2c_client *client, | |||
2797 | if (IS_ERR(state->hpd_gpio[i])) | 2797 | if (IS_ERR(state->hpd_gpio[i])) |
2798 | continue; | 2798 | continue; |
2799 | 2799 | ||
2800 | gpiod_set_value_cansleep(state->hpd_gpio[i], 0); | 2800 | gpiod_direction_output(state->hpd_gpio[i], 0); |
2801 | 2801 | ||
2802 | v4l_info(client, "Handling HPD %u GPIO\n", i); | 2802 | v4l_info(client, "Handling HPD %u GPIO\n", i); |
2803 | } | 2803 | } |