ASoC: rsnd: ssi: Fix issue in dma data address assignment
authorJiada Wang <jiada_wang@mentor.com>
Mon, 3 Sep 2018 07:07:07 +0000 (07:07 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 3 Sep 2018 13:37:15 +0000 (14:37 +0100)
commit0e289012b47a2de1f029a6b61c75998e2f159dd9
treeab9a4a5b396409c0f5c917c193e8c2a83b869f96
parentb735662fa473c0e3618a4d645ce797d31e0c9192
ASoC: rsnd: ssi: Fix issue in dma data address assignment

Same SSI device may be used in different dai links,
by only having one dma struct in rsnd_ssi, after the first
instance's dma config be initilized, the following instances
can no longer configure dma, this causes issue, when their
dma data address are different from the first instance.

Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
[Kuninori: tidyup for upstream]
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/rsnd.h
sound/soc/sh/rcar/ssi.c