aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/usb/usbaudio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c
index facd9fc11c3..c57b44511b5 100644
--- a/sound/usb/usbaudio.c
+++ b/sound/usb/usbaudio.c
@@ -2408,10 +2408,9 @@ static int parse_audio_format(snd_usb_audio_t *chip, struct audioformat *fp,
2408 if (chip->usb_id == USB_ID(0x041e, 0x3000) || 2408 if (chip->usb_id == USB_ID(0x041e, 0x3000) ||
2409 chip->usb_id == USB_ID(0x041e, 0x3020)) { 2409 chip->usb_id == USB_ID(0x041e, 0x3020)) {
2410 if (fmt[3] == USB_FORMAT_TYPE_I && 2410 if (fmt[3] == USB_FORMAT_TYPE_I &&
2411 stream == SNDRV_PCM_STREAM_PLAYBACK &&
2412 fp->rates != SNDRV_PCM_RATE_48000 && 2411 fp->rates != SNDRV_PCM_RATE_48000 &&
2413 fp->rates != SNDRV_PCM_RATE_96000) 2412 fp->rates != SNDRV_PCM_RATE_96000)
2414 return -1; /* use 48k only */ 2413 return -1;
2415 } 2414 }
2416#endif 2415#endif
2417 return 0; 2416 return 0;