diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2010-03-04 13:46:15 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-03-05 02:18:32 -0500 |
commit | 015eb0b08150c6fef843efe22609589ead3d4fb8 (patch) | |
tree | 3ffcb8b5be54355761d94001a8c5415c965daccd /sound/usb/quirks.c | |
parent | e11b4e0e4f5ab40ec342dc07b7201c09a45f9574 (diff) |
ALSA: usb-audio: use a format bitmask per alternate setting
In preparation for USB audio 2.0 support, change the audioformat
structure so that it uses a bitmask to specify possible formats.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/quirks.c')
-rw-r--r-- | sound/usb/quirks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 4c16920844ea..99a19ba43207 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c | |||
@@ -174,7 +174,7 @@ static int create_uaxx_quirk(struct snd_usb_audio *chip, | |||
174 | const struct snd_usb_audio_quirk *quirk) | 174 | const struct snd_usb_audio_quirk *quirk) |
175 | { | 175 | { |
176 | static const struct audioformat ua_format = { | 176 | static const struct audioformat ua_format = { |
177 | .format = SNDRV_PCM_FORMAT_S24_3LE, | 177 | .formats = SNDRV_PCM_FMTBIT_S24_3LE, |
178 | .channels = 2, | 178 | .channels = 2, |
179 | .fmt_type = UAC_FORMAT_TYPE_I, | 179 | .fmt_type = UAC_FORMAT_TYPE_I, |
180 | .altsetting = 1, | 180 | .altsetting = 1, |