diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-12-01 08:36:05 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-01 08:36:05 +0100 |
commit | ef47bf386e2042c2e483b4ea0259233202ad3ebf (patch) | |
tree | 02baba407d2dbae9d367865c3d52d6e9400c8773 /sound/usb | |
parent | ALSA: opti-miro: add PnP detection (diff) | |
parent | ALSA: AACI: fix recording bug (diff) | |
download | linux-ef47bf386e2042c2e483b4ea0259233202ad3ebf.tar.xz linux-ef47bf386e2042c2e483b4ea0259233202ad3ebf.zip |
Merge branch 'fix/misc' into topic/misc
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/usbmixer.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/usb/usbmixer.c b/sound/usb/usbmixer.c index 9efcfd08d747..c998220b99c6 100644 --- a/sound/usb/usbmixer.c +++ b/sound/usb/usbmixer.c @@ -1071,6 +1071,15 @@ static int parse_audio_feature_unit(struct mixer_build *state, int unitid, unsig channels = (ftr[0] - 7) / csize - 1; master_bits = snd_usb_combine_bytes(ftr + 6, csize); + /* master configuration quirks */ + switch (state->chip->usb_id) { + case USB_ID(0x08bb, 0x2702): + snd_printk(KERN_INFO + "usbmixer: master volume quirk for PCM2702 chip\n"); + /* disable non-functional volume control */ + master_bits &= ~(1 << (USB_FEATURE_VOLUME - 1)); + break; + } if (channels > 0) first_ch_bits = snd_usb_combine_bytes(ftr + 6 + csize, csize); else |