ASoC: da7213: Add DAI DAPM event to control DAI clocks
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Tue, 10 May 2016 15:11:04 +0000 (16:11 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 10 May 2016 18:24:16 +0000 (19:24 +0100)
commita0d5caeaebfd00853efa0080afc850e10be7b39a
tree499963aa6cd5b74096d16b4ea4f9bece30f07f03
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
ASoC: da7213: Add DAI DAPM event to control DAI clocks

Currently, when Codec is I2S master DAI clocks are continuously
generated even if all audio streams have stopped. To improve
efficiency, control of the DAI clocks for master mode have been
moved to a DAPM widget event so they're only enabled as required.

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