[ALSA] Test volume resolution of usb audio at initialization
authorTakashi Iwai <tiwai@suse.de>
Tue, 28 Mar 2006 15:58:28 +0000 (17:58 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 31 Mar 2006 15:59:00 +0000 (17:59 +0200)
commit14790f1c73cfa4d4a22ac10b4501b4831380683c
tree7c5ac876676e480df59475fd99da746467bfa404
parent0b2dcd5d6a9a3e27fdd67053e526388f9f2ea33b
[ALSA] Test volume resolution of usb audio at initialization

Test the volume of usb audio whether actually it works and adjusts
the resolution value according to it.

Some USB audio devices report a lower resolution than it reacts.
The only possible check is to write and read a volume value.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usbmixer.c