aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.c
diff options
context:
space:
mode:
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