]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ALSA: hda/ca0132: Move unsol callback setups to parser
authorTakashi Iwai <tiwai@suse.de>
Wed, 30 Sep 2020 11:30:08 +0000 (13:30 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 28 Nov 2020 08:42:51 +0000 (09:42 +0100)
commitfaba002e5fe91aae09ac591187be71c9e201b8f0
tree5783219554f6d7b66ee674438fcfcf26aa6924a6
parent9be9f2d3d073ef42127475f4fb6a392ab133f629
ALSA: hda/ca0132: Move unsol callback setups to parser

The setup of unsolicited event callbacks should be done only once at
the parser phase, not in the init phase that is called multiple times
at each resume.

This patch moves the unsol setup code in ca0132 codec driver to the
more appropriate place.

Reported-by: Hui Wang <hui.wang@canonical.com>
Link: https://lore.kernel.org/r/20200930113008.9307-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c