]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: DaVinci: Update suspend/resume support for McASP driver
authorChaithrika U S <chaithrika@ti.com>
Thu, 3 Dec 2009 13:26:56 +0000 (18:56 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 4 Dec 2009 10:49:45 +0000 (10:49 +0000)
commit8ed0b0d1b0af2656a7ed4e3ada87ae3dc0f78f7e
treec9e36705b30e4fc9808739f05dc0bfbe42a6f8b2
parent3ed50143d8ec03e701bb3c6a5af41389aca4d217
ASoC: DaVinci: Update suspend/resume support for McASP driver

Add clock enable and disable calls to resume and suspend respectively.
Also add a member to the audio device data structure which tracks the clock
status.

Tested on DA850/OMAP-L138 EVM. For the purpose of testing, the patches[1] which
add suspend-to-RAM support to DA850/OMAP-L138 SoC were applied.

[1] http://linux.davincidsp.com/pipermail/davinci-linux-open-source/
2009-November/016958.html

Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-mcasp.c
sound/soc/davinci/davinci-mcasp.h
sound/soc/davinci/davinci-pcm.c