summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats Randgaard <matrandg@cisco.com>2016-12-06 08:24:29 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-02-03 11:16:25 -0200
commit676c002af672d05ccf64ddd0927cbf4d170cc6aa (patch)
tree8e5eaf5ab4a083908e98a8dc0bddbd2cc572ec9e
parent0a1f085061e79aa911475d5420f05698bc6b62eb (diff)
[media] tc358743: ctrl_detect_tx_5v should always be updated
The control for +5V Power detection must also be updated when the EDID is not present. Signed-off-by: Mats Randgaard <matrandg@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--drivers/media/i2c/tc358743.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/tc358743.c b/drivers/media/i2c/tc358743.c
index 257969a31baf..f569a05fe105 100644
--- a/drivers/media/i2c/tc358743.c
+++ b/drivers/media/i2c/tc358743.c
@@ -404,6 +404,7 @@ static void tc358743_enable_edid(struct v4l2_subdev *sd)
if (state->edid_blocks_written == 0) {
v4l2_dbg(2, debug, sd, "%s: no EDID -> no hotplug\n", __func__);
+ tc358743_s_ctrl_detect_tx_5v(sd);
return;
}