From 0066a0d59497cca682dffa0275c663c86f25658d Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Wed, 26 May 2010 18:11:37 +0200 Subject: [PATCH] --- yaml --- r: 199290 b: refs/heads/master c: 8d0912427113723c3f3a4dca631638844c4ab649 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/usb/format.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index a5136a75c07e..fa017761bc76 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 74754f974b36c5a1156be46d0da05ab2c0a0960b +refs/heads/master: 8d0912427113723c3f3a4dca631638844c4ab649 diff --git a/trunk/sound/usb/format.c b/trunk/sound/usb/format.c index caaa3ef9e622..fe29d61de19b 100644 --- a/trunk/sound/usb/format.c +++ b/trunk/sound/usb/format.c @@ -408,7 +408,7 @@ int snd_usb_parse_audio_format(struct snd_usb_audio *chip, struct audioformat *f snd_printd(KERN_INFO "%d:%u:%d : format type %d is not supported yet\n", chip->dev->devnum, fp->iface, fp->altsetting, fmt->bFormatType); - return -1; + return -ENOTSUPP; } fp->fmt_type = fmt->bFormatType; if (err < 0) @@ -424,7 +424,7 @@ int snd_usb_parse_audio_format(struct snd_usb_audio *chip, struct audioformat *f if (fmt->bFormatType == UAC_FORMAT_TYPE_I && fp->rates != SNDRV_PCM_RATE_48000 && fp->rates != SNDRV_PCM_RATE_96000) - return -1; + return -ENOTSUPP; } #endif return 0;