]> git.baikalelectronics.ru Git - kernel.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)
commit3edafe5731efaf50e690a7da0216cbff9282d8dd
treedaf30d29021dc5d41af4f370fbc5e05e89f10484
parent6fe5ccc2a9a1fbcf431b619c43121f3d66b7c854
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