diff options
author | Takashi Iwai | 2021-07-29 20:51:26 +0200 |
---|---|---|
committer | Takashi Iwai | 2021-07-30 08:47:01 +0200 |
commit | 8dde723fcde4479f256441da03793e37181d9f21 (patch) | |
tree | cdb1bdb21cafe9707fa641dd4af6d339f970fc64 /lib/asn1_decoder.c | |
parent | 0d4867a185460397af56b9afe3e2243d3e610e37 (diff) |
ALSA: usb-audio: Avoid unnecessary or invalid connector selection at resume
The recent fix for the resume on Lenovo machines seems causing a
regression on others. It's because the change always triggers the
connector selection no matter which widget node type is.
This patch addresses the regression by setting the resume callback
selectively only for the connector widget.
Fixes: 44609fc01f28 ("ALSA: usb-audio: Check connector value on resume")
Cc: <stable@vger.kernel.org>
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=213897
Link: https://lore.kernel.org/r/20210729185126.24432-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/asn1_decoder.c')
0 files changed, 0 insertions, 0 deletions