[media] adv7604: fix tx 5v detect regression
authorHans Verkuil <hansverk@cisco.com>
Wed, 10 Feb 2016 10:09:10 +0000 (08:09 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 16 Feb 2016 11:38:51 +0000 (09:38 -0200)
commit0ba4581c84cfb39fd527f6b3457f1c97f6356c04
tree599dd604cf10788ad46ccd08e7c23e3b31533353
parent9727a9545adec59f4bccb83d1a709711f4acf242
[media] adv7604: fix tx 5v detect regression

The 5 volt detect functionality broke in 3.14: the code reads IO register 0x70
again after it has already been cleared. Instead it should use the cached
irq_reg_0x70 value and the io_write to 0x71 to clear 0x70 can be dropped since
this has already been done.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org> # for v3.14 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/adv7604.c
This page took 0.024436 seconds and 5 git commands to generate.