]> git.baikalelectronics.ru Git - 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)
commitd69a700a069a89012a6a055e7f67f6148b19a4c8
tree5783219554f6d7b66ee674438fcfcf26aa6924a6
parentc7a377a52e6652136320e8f5e97f4413e968b159
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