ALSA: hda - Move bind-mixer switch codes to generic parser
authorTakashi Iwai <tiwai@suse.de>
Wed, 10 May 2017 10:13:45 +0000 (12:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 May 2017 05:13:09 +0000 (07:13 +0200)
commit698f5ee33bd8e9b728d4b8511df4109200bca95f
tree67f27f110a409102d23951c46c480dad219f817d
parenta717777dbfc4bffc0606439a162144994ae02b14
ALSA: hda - Move bind-mixer switch codes to generic parser

The generic parser is the only user of the bind-mixer controls, so we
can move the code there and clean up the core helper.

Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_local.h