aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.c
diff options
context:
space:
mode:
authorBen Williamson <ben.williamson@greyinnovation.com>2006-06-19 11:20:09 -0400
committerJaroslav Kysela <perex@suse.cz>2006-06-22 15:34:31 -0400
commitc4a87ef4de9860d00460dce30776f7cc17e77459 (patch)
tree3cb5fc7db428e75e1c8545f890d76b11390465a2 /sound/usb/usbaudio.c
parent1561f09a2f91bc258a72225f919807c9e51c8290 (diff)
[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 30cadec9a340..627de9525a32 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,
2981 return -ENXIO; 2981 return -ENXIO;
2982 alts = &iface->altsetting[1]; 2982 alts = &iface->altsetting[1];
2983 altsd = get_iface_desc(alts); 2983 altsd = get_iface_desc(alts);
2984 if (alts->extralen != 11 || alts->extra[1] != CS_AUDIO_INTERFACE || 2984 if (alts->extralen != 11 || alts->extra[1] != USB_DT_CS_INTERFACE ||
2985 altsd->bNumEndpoints != 1) 2985 altsd->bNumEndpoints != 1)
2986 return -ENXIO; 2986 return -ENXIO;
2987 2987