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
@@ -704,9 +704,8 @@ static int rsnd_ssi_dma_probe(struct rsnd_mod *mod,
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
ssi->dma = rsnd_dma_attach(io, mod, dma_id);
|
||||
if (IS_ERR(ssi->dma))
|
||||
return PTR_ERR(ssi->dma);
|
||||
/* SSI probe might be called many times in MUX multi path */
|
||||
ret = rsnd_dma_attach(io, mod, &ssi->dma, dma_id);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user