]> 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)
commit95d63385fd15efb6e1fff28c97cc6af37d0fd74a
tree2e62f536d49b7249a7c4500916f28be129da391a
parent0651f96e61929ad09c167f5eb0f0417adbcc2c05
ALSA: usb-audio: Always set up the parameters after resume

The commit 9ac9891a1f9e ("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