]> git.karo-electronics.de Git - karo-tx-linux.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)
commit99b5c5bb9a5435a5ae5d46445ac0f2bf6aa5ee52
treecefbef5d6022b5c2875ac0df5f1b92ed2c48ccad
parent3db9e970e3b174a6c964c4dcc1df4939cc6d0387
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