summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Neri <ricardo.neri@ti.com>2011-01-15 00:26:45 -0600
committerRicardo Neri <ricardo.neri@ti.com>2011-01-15 00:37:16 -0600
commita523918d22177169284965459d7769645946659a (patch)
tree8737ae595ae23f23225e7b3d9d26295f1eef6f3d
parent155b63569a87f570f26ccf64d71f93ae1116f988 (diff)
ASoC: ABE DAI: Unmute MIX_DL2_INPUT_MM_DL when MM_DL_LP is used
Low-power port is now only restricted to ping-pong buffer, not to OPP25 anymore. Hence, it can be used with PDM_DL2 backend. This patch is to unmute MIX_DL1_INPUT_MM_DL as well as MIX_DL2_INPUT_MM_DL when low-power port is used. Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
-rw-r--r--sound/soc/omap/omap-abe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/omap-abe.c b/sound/soc/omap/omap-abe.c
index c2c12edfa05c..597e75754340 100644
--- a/sound/soc/omap/omap-abe.c
+++ b/sound/soc/omap/omap-abe.c
@@ -1323,10 +1323,10 @@ static void unmute_fe_port(struct snd_pcm_substream *substream, int stream)
switch(rtd->cpu_dai->id) {
case ABE_FRONTEND_DAI_MEDIA:
+ case ABE_FRONTEND_DAI_LP_MEDIA:
if (abe_data.be_active[OMAP_ABE_DAI_PDM_DL2][SNDRV_PCM_STREAM_PLAYBACK]) {
abe_unmute_gain(MIXDL2, MIX_DL2_INPUT_MM_DL);
}
- case ABE_FRONTEND_DAI_LP_MEDIA:
if (abe_data.be_active[OMAP_ABE_DAI_PDM_DL1][SNDRV_PCM_STREAM_PLAYBACK]) {
abe_unmute_gain(MIXDL1, MIX_DL1_INPUT_MM_DL);
}