]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Remove the use of set_fs()
authorTakashi Iwai <tiwai@suse.de>
Wed, 10 May 2017 10:29:37 +0000 (12:29 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 May 2017 05:13:10 +0000 (07:13 +0200)
commit85f0548c7250070783d92d14e87fb5fad32fd316
treecefbef5d6022b5c2875ac0df5f1b92ed2c48ccad
parent8f9633efa6099e07eb218c6ee11a59e14c95db83
ALSA: hda - Remove the use of set_fs()

set_fs() is used in HD-audio vmaster code to retrieve the TLV data of
each slave kctl.  Since the slave is supposed to be a standard amp
kctl, we can call directly the supposed tlv callback instead of the
indirect call, so that we can remove the set_fs() hack.

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