[media] adv7842: update RGB quantization range on HDMI/DVI-D mode irq
authorMartin Bugge <marbugge@cisco.com>
Wed, 19 Mar 2014 09:43:43 +0000 (06:43 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 16 Apr 2014 21:21:34 +0000 (18:21 -0300)
This was the reason for enabling the HDMI/DVI-D mode irq in the first place.

Signed-off-by: Martin Bugge <marbugge@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/adv7842.c

index 636ac08925f66de45514101c75c93c6e392075d8..5d79c57f65d42d5ed5fddaa869b3e6f5aa7c8f23 100644 (file)
@@ -2000,6 +2000,7 @@ static int adv7842_isr(struct v4l2_subdev *sd, u32 status, bool *handled)
        if (irq_status[5] & 0x08) {
                v4l2_dbg(1, debug, sd, "%s: irq %s mode\n", __func__,
                         (io_read(sd, 0x65) & 0x08) ? "HDMI" : "DVI");
+               set_rgb_quantization_range(sd);
                if (handled)
                        *handled = true;
        }