summaryrefslogtreecommitdiffstats
path: root/sound/usb/quirks-table.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-03-04 19:46:16 +0100
committerTakashi Iwai <tiwai@suse.de>2010-03-05 08:18:54 +0100
commit29088fef3e3f62147c1dd53d764da4f04bf3188d (patch)
treeb8da9e5171427315a9d50be8fa5a2537f651c5c1 /sound/usb/quirks-table.h
parent015eb0b08150c6fef843efe22609589ead3d4fb8 (diff)
downloadlinux-29088fef3e3f62147c1dd53d764da4f04bf3188d.tar.gz
linux-29088fef3e3f62147c1dd53d764da4f04bf3188d.tar.bz2
linux-29088fef3e3f62147c1dd53d764da4f04bf3188d.zip
ALSA: usb-audio: support multiple formats with audio class v2 devices
Change the parser to correctly handle v2 descriptors with multiple format bits set. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/quirks-table.h')
-rw-r--r--sound/usb/quirks-table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index 6e8651d2ee9d..81c5f8a312ce 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -2203,7 +2203,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
.ifnum = 1,
.type = QUIRK_AUDIO_FIXED_ENDPOINT,
.data = &(const struct audioformat) {
- .format = SNDRV_PCM_FORMAT_S24_3BE,
+ .formats = SNDRV_PCM_FMTBIT_S24_3BE,
.channels = 2,
.iface = 1,
.altsetting = 1,