summaryrefslogtreecommitdiff
path: root/sound/soc/davinci/davinci-mcasp.h
diff options
context:
space:
mode:
authorHebbar, Gururaja <gururaja.hebbar@ti.com>2012-08-08 15:10:32 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-09 13:06:10 (GMT)
commit10884347f18842aa9b8ae18ebb16272d9b7fafa2 (patch)
tree5c76a175a657756ecdf7ad79a282f30dfa354a23 /sound/soc/davinci/davinci-mcasp.h
parent8f245499791a4701bfe1ce9b0df90cea9d2f13e5 (diff)
downloadlinux-fsl-qoriq-10884347f18842aa9b8ae18ebb16272d9b7fafa2.tar.xz
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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/davinci/davinci-mcasp.h b/sound/soc/davinci/davinci-mcasp.h
index 4681acc..51479f9 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;