]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sgtl5000: remove useless register write clearing CHRGPUMP_POWERUP
authorEric Nelson <eric.nelson@boundarydevices.com>
Fri, 27 Feb 2015 15:06:45 +0000 (08:06 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 6 Mar 2015 20:19:13 +0000 (20:19 +0000)
commit2dca91bded91a6ebaddc2833319ed188a10ee3a7
treea62de9ac741f28e92051b1359fbf23d3a1d671d8
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
ASoC: sgtl5000: remove useless register write clearing CHRGPUMP_POWERUP

The SGTL5000_CHIP_ANA_POWER register is cached. Update the cached
value instead of writing it directly.

Patch inspired by Russell King's more colorful remarks in this
patch:
https://github.com/SolidRun/linux-imx6-3.14/commit/dd4bf6a

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/sgtl5000.c