V4L/DVB (9653): em28xx: improve AC97 handling
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 20 Nov 2008 12:06:09 +0000 (09:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:35 +0000 (17:53 -0200)
commit5faff78904d9c07f38ac0e227b322e9f58d5447c
tree431d2e8c8fc7a17396e806f778293629226fc892
parent16c7bcadff2222b297d13951dc30e133f56d0154
V4L/DVB (9653): em28xx: improve AC97 handling

AC97 devices provide several input and outputs. However, before this
patch, em28xx device weren't properly allowing the usage of ac97
possible combinations. Also, several input volumes were left untouched,
instead of making sure that the volumes were set on mute state.

This patch improves support for ac97 devices by allowing to use any
inputs, and making sure that unused inputs are set on mute state.

Yet, some work is still needed to select the AC97 output.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-core.c
drivers/media/video/em28xx/em28xx-reg.h
drivers/media/video/em28xx/em28xx.h