ASoC: Intel: mfld-pcm: add control for powering up/down dsp
authorVinod Koul <[email protected]>
Fri, 19 Sep 2014 11:16:03 +0000 (16:46 +0530)
committerMark Brown <[email protected]>
Thu, 25 Sep 2014 14:22:23 +0000 (15:22 +0100)
commit0121327c1a68bc8c80f240c2794e682722b69051
tree516a8f170dd1789a4afcc4730fb8a67b0cafd8cb
parent6df5d768050f31d810dd3ba0ad8210922c3e9b6d
ASoC: Intel: mfld-pcm: add control for powering up/down dsp

When we have PCM (FE/BE) opened or DAPM widgets triggered we need power
up/down DSP accordingly. The DSP will do ref count of these requests
i.e. link these runtime_get/put calls of DSP

Also fix some preexisting spacing error.

Signed-off-by: Vinod Koul <[email protected]>
Signed-off-by: Subhransu S. Prusty <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/intel/sst-mfld-platform-pcm.c
sound/soc/intel/sst-mfld-platform.h