]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: tas2552: Simplify the tas2552_mute function
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 4 Jun 2015 13:04:18 +0000 (16:04 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 4 Jun 2015 16:50:02 +0000 (17:50 +0100)
commite3606aa496c98595cb206ac8fed9bc8152ffe34e
treeab4767f40c268dc5b0d99242b2bddf272c2bc438
parent7de544fd3275a136b311bfce9fe4406a1518d488
ASoC: tas2552: Simplify the tas2552_mute function

Initialize the cfg1_reg to 0 and set the mute bit only when it is needed.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2552.c