OSDN Git Service

ASoC: rsnd: add RSND_GEN3 for R-Car Gen3
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 11 Apr 2018 02:10:29 +0000 (02:10 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 16 Apr 2018 10:53:50 +0000 (11:53 +0100)
commitd188e140ad9723faccefa4ed5dc313cd467123c9
tree0b2ad430485ca77c77e72dfb357ecb3ef44127b6
parente32259397e0166a7cc366e182f6f4297977d6c10
ASoC: rsnd: add RSND_GEN3 for R-Car Gen3

rsnd driver is supporting Gen3. The difference between Gen1 and Gen2
were very big, but, between Gen2 and Gen3 are not so much.
Thus, it is assuming Gen2 and Gen3 have compatible, therefore,
there is no RSND_GEN3 and rsnd_is_gen3() macro.
But in the future, it will need Gen2 and Gen3 different operation,
and for Gen4.
This patch adds missing RSND_GEN3 and rsnd_is_gen3() macro.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Nguyen Viet Dung <dung.nguyen.aj@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/dma.c
sound/soc/sh/rcar/gen.c
sound/soc/sh/rcar/rsnd.h