diff options
author | Ben Williamson <ben.williamson@greyinnovation.com> | 2006-06-19 15:20:09 (GMT) |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-06-22 19:34:31 (GMT) |
commit | c4a87ef4de9860d00460dce30776f7cc17e77459 (patch) | |
tree | 3cb5fc7db428e75e1c8545f890d76b11390465a2 /sound/usb/usbaudio.c | |
parent | 1561f09a2f91bc258a72225f919807c9e51c8290 (diff) | |
download | linux-fsl-qoriq-c4a87ef4de9860d00460dce30776f7cc17e77459.tar.xz |
[ALSA] USB midi: Remove duplicate CS_AUDIO_* #defines
Removed the CS_AUDIO_* #defines, which were duplicates of the
class-specific USB_DT_CS_* #defines in <linux/usb_ch9.h>.
Signed-off-by: Ben Williamson <ben.williamson@greyinnovation.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usbaudio.c')
-rw-r--r-- | sound/usb/usbaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c index 30cadec..627de95 100644 --- a/sound/usb/usbaudio.c +++ b/sound/usb/usbaudio.c @@ -2981,7 +2981,7 @@ static int create_ua1000_quirk(struct snd_usb_audio *chip, return -ENXIO; alts = &iface->altsetting[1]; altsd = get_iface_desc(alts); - if (alts->extralen != 11 || alts->extra[1] != CS_AUDIO_INTERFACE || + if (alts->extralen != 11 || alts->extra[1] != USB_DT_CS_INTERFACE || altsd->bNumEndpoints != 1) return -ENXIO; |