OSDN Git Service

ASoC: amd: Enable da7219 master clock using common clock framework
authorAkshu Agrawal <akshu.agrawal@amd.com>
Mon, 19 Mar 2018 05:37:42 +0000 (11:07 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 20 Mar 2018 01:18:30 +0000 (09:18 +0800)
commitc88d311533563e6dadc244930a36125d592f5ec5
tree9dcef8fb243939cf974402114861f25a7b8f5abb
parentf155181d23608acd3fb46d0d6b1507b68ffa436b
ASoC: amd: Enable da7219 master clock using common clock framework

DA7219 is clock master for other codecs. DA7219 has exposed clock
control by using common clock framework and same is used to enable
and disable clock for all codecs in the system.

TEST=aplay -D hw:0,0 -vv <file>
arecord -D hw:0,0 -f dat -d 5 -vv <file>
aplay -D hw:0,1 -vv <file>

Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-da7219-max98357a.c