[media] tc358743: ctrl_detect_tx_5v should always be updated
authorMats Randgaard <matrandg@cisco.com>
Tue, 6 Dec 2016 10:24:29 +0000 (08:24 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 3 Feb 2017 13:16:25 +0000 (11:16 -0200)
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>
drivers/media/i2c/tc358743.c

index 257969a31baf7817500e10a3eecd47b0168a3aed..f569a05fe10547e4ffc159bbce96d5765ae9e40b 100644 (file)
@@ -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;
        }