diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2010-03-04 21:46:16 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-03-05 10:18:54 +0300 |
commit | 29088fef3e3f62147c1dd53d764da4f04bf3188d (patch) | |
tree | b8da9e5171427315a9d50be8fa5a2537f651c5c1 /sound/usb/quirks-table.h | |
parent | 015eb0b08150c6fef843efe22609589ead3d4fb8 (diff) | |
download | linux-29088fef3e3f62147c1dd53d764da4f04bf3188d.tar.xz |
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.h | 2 |
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, |