diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/usb/format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/usb/format.c b/sound/usb/format.c index caaa3ef9e622..fe29d61de19b 100644 --- a/sound/usb/format.c +++ b/sound/usb/format.c | |||
@@ -408,7 +408,7 @@ int snd_usb_parse_audio_format(struct snd_usb_audio *chip, struct audioformat *f | |||
408 | snd_printd(KERN_INFO "%d:%u:%d : format type %d is not supported yet\n", | 408 | snd_printd(KERN_INFO "%d:%u:%d : format type %d is not supported yet\n", |
409 | chip->dev->devnum, fp->iface, fp->altsetting, | 409 | chip->dev->devnum, fp->iface, fp->altsetting, |
410 | fmt->bFormatType); | 410 | fmt->bFormatType); |
411 | return -1; | 411 | return -ENOTSUPP; |
412 | } | 412 | } |
413 | fp->fmt_type = fmt->bFormatType; | 413 | fp->fmt_type = fmt->bFormatType; |
414 | if (err < 0) | 414 | if (err < 0) |
@@ -424,7 +424,7 @@ int snd_usb_parse_audio_format(struct snd_usb_audio *chip, struct audioformat *f | |||
424 | if (fmt->bFormatType == UAC_FORMAT_TYPE_I && | 424 | if (fmt->bFormatType == UAC_FORMAT_TYPE_I && |
425 | fp->rates != SNDRV_PCM_RATE_48000 && | 425 | fp->rates != SNDRV_PCM_RATE_48000 && |
426 | fp->rates != SNDRV_PCM_RATE_96000) | 426 | fp->rates != SNDRV_PCM_RATE_96000) |
427 | return -1; | 427 | return -ENOTSUPP; |
428 | } | 428 | } |
429 | #endif | 429 | #endif |
430 | return 0; | 430 | return 0; |