]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: da7218: Improve driver efficiency with regards to MCLK usage
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Mon, 8 Aug 2016 14:35:24 +0000 (15:35 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 8 Aug 2016 14:57:07 +0000 (15:57 +0100)
commit72dce368926167811c10ef094deba524e1ca274f
treedaf30d29021dc5d41af4f370fbc5e05e89f10484
parent8799af0d823512c2ce6ba52259dedfebc84793e2
ASoC: da7218: Improve driver efficiency with regards to MCLK usage

Currently MCLK remains enabled during bias STANDBY state, and this
is not necessary. This patch updates the code to handle enabling
and disabling of MCLK, if provided, when moving between STANDBY
and PREPARE states, therefore saving power when no active streams
present.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7218.c