audio: auge: add vad driver [1/1]

PD#SWPL-2404

Problem:
VAD for wake up

Solution:
Add vad driver to fetch VAD buffer and ALSA buffer, in userspace, they
will be combined for wakeup engine

Verify:
x301

Change-Id: I3b4de5fdfe173ce18e58a187a3adeda601e226b3
Signed-off-by: Xing Wang <xing.wang@amlogic.com>

Conflicts:
	MAINTAINERS
	arch/arm/boot/dts/amlogic/tl1_t962x2_skt.dts
	include/linux/amlogic/major.h
	sound/soc/amlogic/auge/ddr_mngr.h
	sound/soc/amlogic/auge/tdm.c
This commit is contained in:
Xing Wang
2018-12-05 23:12:54 +08:00
committed by Luke Go
parent b1e14283bb
commit e1df0fd53c
2 changed files with 4 additions and 1 deletions

View File

@@ -14682,7 +14682,7 @@ AMLOGIC TL1 NEW EQDRC
AMLOGIC TL1 MIXER CONTROLS
AMLOGIC TL1 VAD DRIVER
AMLOGIC SM1 SOUND CARD
M: Xing Wang <xing.wang@amlogic.com
M: Xing Wang <xing.wang@amlogic.com>
F: arch/arm/boot/dts/amlogic/tl1_pxp.dts
F: include/dt-bindings/clock/amlogic,tl1-audio-clk.h
F: include/dt-bindings/clock/amlogic,sm1-audio-clk.h

View File

@@ -563,6 +563,9 @@ static int aml_dai_tdm_trigger(struct snd_pcm_substream *substream, int cmd,
break;
}
aml_tdm_enable(p_tdm->actrl,
substream->stream, p_tdm->id, false);
if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
dev_info(substream->pcm->card->dev, "tdm playback stop\n");
memset(substream->runtime->dma_area,