]> git.baikalelectronics.ru Git - kernel.git/commit
[media] wm8775: fix broken audio routing
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 11 Nov 2013 14:02:52 +0000 (11:02 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 29 Nov 2013 16:34:54 +0000 (14:34 -0200)
commit632b1d0b998996a15637a1935490d8d8baa8d9a2
tree561b78f42892aabd22d0c4e0b29d10ef9008d4eb
parent55d580b3b9d068c0033235e96955c56c6e7dbbff
[media] wm8775: fix broken audio routing

Commit e7f870eec14e0efca50ebb87b4872868ad15e57b inverted the mute control
state test in s_routing which caused the audio routing to fail. This broke
ivtv support for the Hauppauge video/audio input bracket (which adds additional
video and audio inputs) all the way back in kernel 2.6.36.
This fix fixes the condition and it also removes a nonsense check on the
balance control.
Bisected-by: Rajil Saraswat <rajil.s@gmail.com>
Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Reported-by: Rajil Saraswat <rajil.s@gmail.com>
Tested-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: stable@vger.kernel.org # for v3.10 and up
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/wm8775.c