diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-02-06 23:30:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-20 12:43:44 +0300 |
commit | 0f6cab2350d5d5cc26daa8c2321d069ec874c3c6 (patch) | |
tree | b5a676f2f2dc79d8d98fde247ecce91193b0a00b /sound/hda/ext | |
parent | df8596f5774387f92133e0e5b7e05808ff6595d7 (diff) | |
download | linux-0f6cab2350d5d5cc26daa8c2321d069ec874c3c6.tar.xz |
ALSA: usb-audio: Don't avoid stopping the stream at disconnection
commit 257d2d7e9e798305d65825cb82b0a7d1c0511e89 upstream
In the later patch, we're going to issue the PCM sync_stop calls at
disconnection. But currently the USB-audio driver can't handle it
because it has a check of shutdown flag for stopping the URBs. This
is basically superfluous (the stopping URBs are safe at disconnection
state), so let's drop the check.
Fixes: dc5eafe7787c ("ALSA: usb-audio: Support PCM sync_stop")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210206203052.15606-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
[sudip: adjust context]
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/hda/ext')
0 files changed, 0 insertions, 0 deletions