mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
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:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user