Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342602
b: refs/heads/master
c: b0db606
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Nov 21, 2012
1 parent 3c886f7 commit ffb8434
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: b2eb950de2f09435d5156f4dc6d5dbf284cd97f3
refs/heads/master: b0db6063dba4ee02dfda7411ec3aaf8f0fbda0f7
4 changes: 2 additions & 2 deletions trunk/sound/usb/pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ static int configure_endpoint(struct snd_usb_substream *subs)
int ret;

/* format changed */
stop_endpoints(subs, false);
stop_endpoints(subs, true);
ret = snd_usb_endpoint_set_params(subs->data_endpoint,
subs->pcm_format,
subs->channels,
Expand Down Expand Up @@ -1012,7 +1012,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];

stop_endpoints(subs, false);
stop_endpoints(subs, true);

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

0 comments on commit ffb8434

Please sign in to comment.