summaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.c
diff options
context:
space:
mode:
authorBen Williamson <ben.williamson@greyinnovation.com>2006-06-19 17:20:09 +0200
committerJaroslav Kysela <perex@suse.cz>2006-06-22 21:34:31 +0200
commitc4a87ef4de9860d00460dce30776f7cc17e77459 (patch)
tree3cb5fc7db428e75e1c8545f890d76b11390465a2 /sound/usb/usbaudio.c
parent1561f09a2f91bc258a72225f919807c9e51c8290 (diff)
downloadop-kernel-dev-c4a87ef4de9860d00460dce30776f7cc17e77459.zip
op-kernel-dev-c4a87ef4de9860d00460dce30776f7cc17e77459.tar.gz
[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.c2
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;
OpenPOWER on IntegriCloud