]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/ca0132: Delete redundant UNSOL event requests
authorAlastair Bridgewater <alastair.bridgewater@gmail.com>
Sat, 16 Jun 2018 01:56:16 +0000 (21:56 -0400)
committerTakashi Iwai <tiwai@suse.de>
Sun, 17 Jun 2018 06:39:45 +0000 (08:39 +0200)
commit204b24e3189291d2732d7ded056f8d2ade121fcc
treec6d247d29af7ea2dff4387d9faf1c66bca35b1a5
parent708c5f94cfdbc183eafb9352c6f2646898bdd3dc
ALSA: hda/ca0132: Delete redundant UNSOL event requests

During ca0132_init(), ca0132_init_unsol() is run before the
spec->spec_init_verbs are written.  ca0132_init_unsol() calls
snd_hda_jack_detect_enable_callback(), which requests UNSOL events
for three or four nodes, two of which were also (redundantly)
requested by spec_init_verbs.

Kill the redundant AC_VERB_SET_UNSOLICITED_ENABLE verbs.

Signed-off-by: Alastair Bridgewater <alastair.bridgewater@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c