Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179130
b: refs/heads/master
c: 78b8d5d
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Dec 28, 2009
1 parent f145ed5 commit cbe95e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 9980c6209ebc2a02eb3ca51a4fae1e17f645c868
refs/heads/master: 78b8d5d2ee280c463908fd75f3bdf246bcb6ac8d
2 changes: 1 addition & 1 deletion trunk/sound/usb/usbaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1936,7 +1936,7 @@ static int snd_usb_pcm_close(struct snd_pcm_substream *substream, int direction)
struct snd_usb_stream *as = snd_pcm_substream_chip(substream);
struct snd_usb_substream *subs = &as->substream[direction];

if (subs->interface >= 0) {
if (!as->chip->shutdown && subs->interface >= 0) {
usb_set_interface(subs->dev, subs->interface, 0);
subs->interface = -1;
}
Expand Down

0 comments on commit cbe95e3

Please sign in to comment.