]> 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)
commite17e831b5ea4792304ee8c00d808ae1af6002d2d
tree5783219554f6d7b66ee674438fcfcf26aa6924a6
parentfd238c64ccf977415139694ea6af5178c66c1026
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