]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Always set up the parameters after resume
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 08:53:29 +0000 (09:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 14:14:54 +0000 (15:14 +0100)
commit35ed56aa50965094a84d62744fd00cb29c3d03b1
tree2e62f536d49b7249a7c4500916f28be129da391a
parent6815100cedc38d86f7fcb71e737e30e83e097d22
ALSA: usb-audio: Always set up the parameters after resume

The commit a3879fa58621 ("ALSA: usb-audio: set the interface format
after resume on Dell WD19") introduced the workaround for the broken
setup after the resume specifically on a Dell dock model.  However,
the full setup should have been performed after the resume on all
devices, as we can't guarantee the same state.  So this patch removes
the conditional check and applies the workaround always.

Tested-by: Keith Milner <kamilner@superlative.org>
Tested-by: Dylan Robinson <dylan_robinson@motu.com>
Link: https://lore.kernel.org/r/20201123085347.19667-24-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/pcm.c
sound/usb/quirks-table.h
sound/usb/quirks.c
sound/usb/usbaudio.h