]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoc: rsnd: dma: Calculate PDMACHCRE with consider of BUSIF
authorJiada Wang <jiada_wang@mentor.com>
Mon, 3 Sep 2018 07:08:00 +0000 (07:08 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 3 Sep 2018 13:37:18 +0000 (14:37 +0100)
commit92c7d384ff7282738c70720f8670c9b65c90c7df
tree25b578359435df272b7e9090c306cfa674a2c12b
parent5e45a6fab3b90ca300e13191fc68baaa8e37d1d4
ASoc: rsnd: dma: Calculate PDMACHCRE with consider of BUSIF

PDMACHCR setting for SSI only considers BUSIF0 so far.
But BUSIF1 ~ BUSIF7 also maybe used, in the future.

This patch updates table gen2_id_table_ssiu, to also consider
BUSIF number used by SSI.

Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
[kuninori: adjust to upstreaming]
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/dma.c