]> 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)
commitb0c4b77043e33552eb933c39b015cdb9ec78ab45
treec6d247d29af7ea2dff4387d9faf1c66bca35b1a5
parent6e2ab5d8e45644f7739cb59410f11bbef7b7a10f
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