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

The commit 92adc96f8eec ("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