]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (4982): Fix broken audio mode handling for line-in in msp3400.
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 18 Dec 2006 16:18:28 +0000 (13:18 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 27 Dec 2006 16:19:32 +0000 (14:19 -0200)
commit60fa94ab0c4d4062cc82d57beb875ac0a47f061b
tree5d0a5755688cdb1d73a1ce8fc657b9761303dd68
parent8c03032e92a01c353059328920391c469e689623
V4L/DVB (4982): Fix broken audio mode handling for line-in in msp3400.

The wrong matrix was used when an external input was selected instead of
the tuner input. The rxsubchans field was also not initialized to STEREO
for an external input. And finally the msp34xxg_detect_stereo() should
not try to detect stereo for an external input, that code is for the
tuner input only.
Together these bugs made it hit 'n miss whether you ever got stereo out
of the msp3400 for an external input.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/msp3400-driver.c
drivers/media/video/msp3400-kthreads.c