29 May
2012
29 May
'12
8:28 a.m.
FSI DMAEngine has to be stopped certainly at the start/stop time. Without this patch, it will include noise on playback.
Signed-off-by: Kuninori Morimoto kuninori.morimoto.gx@renesas.com --- this is v3.5 bugfix
sound/soc/sh/fsi.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index 02ffe79..18c920f 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c @@ -1178,6 +1178,8 @@ static void fsi_dma_push_start_stop(struct fsi_priv *fsi, struct fsi_stream *io,
fsi_reg_mask_set(fsi, OUT_DMAC, DMA_ON, enable);
+ dmaengine_terminate_all(io->chan); + if (fsi_is_clk_master(fsi)) fsi_master_mask_set(master, CLK_RST, clk, (enable) ? clk : 0); }
--
1.7.5.4