ASoC: rsnd: attach Audio-DMAC-periperi correctly
SSI/SRC will try to attach DMAC as Audio-DMAC or Audio-DMAC-periperi. It is fixed IP, but will be attached to each streams as different module in case of MUX (= multi sound path will be merged). This patch solves this issue. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:

committed by
Mark Brown

parent
5ba17b42e1
commit
355cb84fbe
@@ -495,9 +495,7 @@ static int rsnd_src_probe_(struct rsnd_mod *mod,
|
||||
return ret;
|
||||
}
|
||||
|
||||
src->dma = rsnd_dma_attach(io, mod, 0);
|
||||
if (IS_ERR(src->dma))
|
||||
return PTR_ERR(src->dma);
|
||||
ret = rsnd_dma_attach(io, mod, &src->dma, 0);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user