]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/soc/codecs/sta32x.c
ASoC: sta32x: make sta32x a gpio consumer for the reset GPIO
authorThomas Niederprüm <niederp@physik.uni-kl.de>
Wed, 21 Jan 2015 23:01:54 +0000 (00:01 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 27 Jan 2015 17:13:22 +0000 (17:13 +0000)
commitb66a29808e1fac7fc5c8174e3ec0f014bd418280
tree55c7014d30cac75db0437437cc7abd1fc4cac763
parenta1be4cead9b9504aa6fc93b624975601cec8c188
ASoC: sta32x: make sta32x a gpio consumer for the reset GPIO

The reset GPIO on the STA32X Codecs is used to reset the Codec and clear
all registers. Also taking it down puts the IC in power save mode, so
we put the device in reset mode when we go to sleep.

Signed-off-by: Thomas Niederprüm <niederp@physik.uni-kl.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sta32x.c