Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199290
b: refs/heads/master
c: 8d09124
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Mack authored and Takashi Iwai committed May 27, 2010
1 parent 058e08b commit 0066a0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 74754f974b36c5a1156be46d0da05ab2c0a0960b
refs/heads/master: 8d0912427113723c3f3a4dca631638844c4ab649
4 changes: 2 additions & 2 deletions trunk/sound/usb/format.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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;
Expand Down

0 comments on commit 0066a0d

Please sign in to comment.