From ffb84344ce7f6eb6bf279ecb99dd21c33f73c533 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 21 Nov 2012 08:35:42 +0100 Subject: [PATCH] --- yaml --- r: 342602 b: refs/heads/master c: b0db6063dba4ee02dfda7411ec3aaf8f0fbda0f7 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/usb/pcm.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index e743cff2b420..0f5b063e3409 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b2eb950de2f09435d5156f4dc6d5dbf284cd97f3 +refs/heads/master: b0db6063dba4ee02dfda7411ec3aaf8f0fbda0f7 diff --git a/trunk/sound/usb/pcm.c b/trunk/sound/usb/pcm.c index 4750d3d5c0cc..bc3c9acc68b7 100644 --- a/trunk/sound/usb/pcm.c +++ b/trunk/sound/usb/pcm.c @@ -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, @@ -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);