]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: simple-card: Enable and disable DAI clocks as needed
authorJyri Sarha <jsarha@ti.com>
Tue, 13 Jan 2015 19:16:34 +0000 (21:16 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 15 Jan 2015 11:45:52 +0000 (11:45 +0000)
commit612fcc27e9a6b9067978fd21a166fbed59be1c9a
tree41eeb7ff84c9627d8104b2c2dc2831aa01c09c12
parentc687bb41805a1238a38a086952014d5682516d9d
ASoC: simple-card: Enable and disable DAI clocks as needed

Call clk_prepare_enable() and clk_disable_unprepare() for cpu dai
clock and codec dai clock in dai statup and shutdown callbacks. This
to make sure the related clock are enabled when the audio device is
used.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/simple-card.txt
include/sound/simple_card.h
sound/soc/generic/simple-card.c