aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/adv7842.c
diff options
context:
space:
mode:
authorMartin Bugge <marbugge@cisco.com>2014-03-19 06:43:43 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-04-16 18:21:34 -0300
commit5046f26b7b542ca7b70222acffeb7f1e6730eb02 (patch)
tree68ff9181df94197cf42fb7fa0e4c105c0161b99e /drivers/media/i2c/adv7842.c
parent[media] staging: omap24xx: fix coding style (diff)
downloadlinux-dev-5046f26b7b542ca7b70222acffeb7f1e6730eb02.tar.xz
linux-dev-5046f26b7b542ca7b70222acffeb7f1e6730eb02.zip
[media] adv7842: update RGB quantization range on HDMI/DVI-D mode irq
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>
Diffstat (limited to 'drivers/media/i2c/adv7842.c')
-rw-r--r--drivers/media/i2c/adv7842.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c
index 636ac08925f6..5d79c57f65d4 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;
}