ASoC: da7213: Improve driver efficiency with regards to MCLK usage
commitf612680fb5cd92a213240d82651a1f56bc38129e
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Thu, 4 Aug 2016 14:35:39 +0000 (4 15:35 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 8 Aug 2016 10:54:40 +0000 (8 11:54 +0100)
treeb8f9222a77a296e64871efca5ca1cf7469b64867
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
ASoC: da7213: 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/da7213.c