]> git.ipfire.org Git - people/arne_f/kernel.git/commit
ASoC: tlv320aci3x: Fix custom snd_soc_dapm_put_volsw_aic3x() function
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 30 May 2014 13:47:41 +0000 (16:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jun 2014 19:17:35 +0000 (15:17 -0400)
commit1224841d0cfee9a856fe774d9bc96c233f471613
treeb04a957a665e7074c4b4d58ecb4775492c1a745c
parent132bb68d6dc77832e1096d61b9e0d82e4c01ae5f
ASoC: tlv320aci3x: Fix custom snd_soc_dapm_put_volsw_aic3x() function

commit e6c111fac4464e3f4bf7b3802b517dafc80f8e0f upstream.

For some unknown reason the parameters for snd_soc_test_bits() were in wrong
order:
It was:
snd_soc_test_bits(codec, val, mask, reg); /* WRONG!!! */
while it should be:
snd_soc_test_bits(codec, reg, mask, val);

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/tlv320aic3x.c