]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 9 Apr 2015 12:13:56 +0000 (14:13 +0200)
commiteb1fde56dd4c8d02776f11931c2a3a23ad018fb5
treea44e6633e117726e73da4df0b5b9bb7ad54d0c42
parenta9987afab81124074654de1237944f3f72723f69
ASoC: sgtl5000: remove useless register write clearing CHRGPUMP_POWERUP

commit c7d910b87d3c8e9fcf4077089ca4327c12eee099 upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
sound/soc/codecs/sgtl5000.c