]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (12336): ivtv: Fix improper GPIO audio mux input switch on video standard...
authorAndy Walls <awalls@radix.net>
Thu, 23 Jul 2009 00:24:53 +0000 (21:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:18:12 +0000 (12:18 -0300)
commit99d75285367797698ca2f33528d944468231ee44
tree4c478693589250643143cda066ea3bd421197b8c
parentc3ca91e34ec29c72636081915e153c2a3bf7dd0c
V4L/DVB (12336): ivtv: Fix improper GPIO audio mux input switch on video standard change

Remove the subdev_s_std() method from the GPIO subdev.  It appears it was
used in the past to effect the switch back from radio mode to tuner mode,
but it had a side effect that is improper and against the V4L2 spec, when
you were not in radio mode.  Whenever the video stanadrd was changed, the
GPIO audio mux was set back to the tuner audio input, even if you were set
to a Line In input.

Thanks to Ravi A. for doing the troubleshooting to point me right to the
problem.

Reported-by: Ravi A <asvravi@gmail.com>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ivtv/ivtv-gpio.c