staging/easycap: Add option to set the hardware audio gain
authorMike Thomas <rmthomas@sciolus.org>
Sun, 7 Nov 2010 20:05:51 +0000 (20:05 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 10 Nov 2010 00:31:15 +0000 (16:31 -0800)
commit94155cf4195bb3be0068481dc21e8688eda2e051
tree05a9ae9eb45ed7e957d2318763724c61b4b56786
parent849322a0f114e52d05e16fe8349843c980cff2c6
staging/easycap: Add option to set the hardware audio gain

A new module parameter adjusts the gain of the AC'97 audio chip, if
one is present.  Attenuation as well as amplification should be possible
according to the datasheet, but attenuation seems not to work yet.

Signed-off-by: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/easycap/easycap_debug.h
drivers/staging/easycap/easycap_ioctl.c
drivers/staging/easycap/easycap_low.c
drivers/staging/easycap/easycap_main.c