diff options
author | Hebbar, Gururaja <gururaja.hebbar@ti.com> | 2012-08-08 20:40:32 +0530 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-09 14:06:10 +0100 |
commit | 10884347f18842aa9b8ae18ebb16272d9b7fafa2 (patch) | |
tree | 5c76a175a657756ecdf7ad79a282f30dfa354a23 /sound/soc/davinci/davinci-mcasp.h | |
parent | 8f245499791a4701bfe1ce9b0df90cea9d2f13e5 (diff) | |
download | talos-obmc-linux-10884347f18842aa9b8ae18ebb16272d9b7fafa2.tar.gz talos-obmc-linux-10884347f18842aa9b8ae18ebb16272d9b7fafa2.zip |
ASoC: McASP: Convert driver to use Runtime PM API
* Add Runtime PM support to McASP host controller.
* Use Runtime PM API to enable/disable McASP clock.
This was tested on AM18x Board using suspend/resume
Signed-off-by: Hebbar, Gururaja <gururaja.hebbar@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/davinci/davinci-mcasp.h')
-rw-r--r-- | sound/soc/davinci/davinci-mcasp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/davinci/davinci-mcasp.h b/sound/soc/davinci/davinci-mcasp.h index 4681acc63606..51479f9ee909 100644 --- a/sound/soc/davinci/davinci-mcasp.h +++ b/sound/soc/davinci/davinci-mcasp.h @@ -40,9 +40,8 @@ struct davinci_audio_dev { struct davinci_pcm_dma_params dma_params[2]; void __iomem *base; int sample_rate; - struct clk *clk; + struct device *dev; unsigned int codec_fmt; - u8 clk_active; /* McASP specific data */ int tdm_slots; |