static int mtk_dl1_awb_alsa_stop(struct snd_pcm_substream *substream)
{
    printk("mtk_dl1_awb_alsa_stop \n");
    StopAudioDl1AWBHardware(substream);
    RemoveMemifSubStream(Soc_Aud_Digital_Block_MEM_AWB, substream);
    return 0;
}
Ejemplo n.º 2
0
static int mtk_dl1_awb_alsa_stop(struct snd_pcm_substream *substream)
{
	AFE_BLOCK_T *Awb_Block = &(Dl1_AWB_Control_context->rBlock);
	pr_debug("mtk_dl1_awb_alsa_stop\n");
	StopAudioDl1AWBHardware(substream);
	Awb_Block->u4DMAReadIdx = 0;
	Awb_Block->u4WriteIdx = 0;
	Awb_Block->u4DataRemained = 0;
	RemoveMemifSubStream(Soc_Aud_Digital_Block_MEM_AWB);
	return 0;
}