This was the reason for enabling the HDMI/DVI-D mode irq in the first place.

Signed-off-by: Martin Bugge <marbu...@cisco.com>
---
 drivers/media/i2c/adv7842.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c
index 636ac08..5d79c57 100644
--- a/drivers/media/i2c/adv7842.c
+++ b/drivers/media/i2c/adv7842.c
@@ -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;
        }
-- 
1.8.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to