diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2018-12-04 09:00:47 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-12-04 16:50:56 +0100 |
commit | 665c1ade11e8aee0db691c7a928de1586b712344 (patch) | |
tree | 0155957dedbc98da2d825232be78f24252b3e1f6 /sound/soc/sh/rcar/rsnd.h | |
parent | ASoC: rsnd: indicates Channel and Mode for debug (diff) | |
download | linux-665c1ade11e8aee0db691c7a928de1586b712344.tar.xz linux-665c1ade11e8aee0db691c7a928de1586b712344.zip |
ASoC: rsnd: fixup mod ID for CTU regmap read/write
commit c16015f36cc12824 ("ASoC: rsnd: add .get_id/.get_id_sub")
add new .get_id/.get_id_sub to indicate module ID/subID.
It is used for SSIU and CTU. In SSIU case, subID indicates BUSIF,
but register settings is based on SSIU ID.
OTOH, in CTU case, subID indicates CTU channel, and register settings
is based on it. This means regmap read/write function needs to care it.
This patch fixup this issue. It can't play MIXed sound without this
patch.
Fixes: c16015f36cc12824 ("ASoC: rsnd: add .get_id/.get_id_sub")
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/rsnd.h')
-rw-r--r-- | sound/soc/sh/rcar/rsnd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sh/rcar/rsnd.h b/sound/soc/sh/rcar/rsnd.h index 3c57129af6d1..94d51fee8999 100644 --- a/sound/soc/sh/rcar/rsnd.h +++ b/sound/soc/sh/rcar/rsnd.h @@ -306,6 +306,7 @@ struct rsnd_mod_ops { enum rsnd_mod_type type); int (*id)(struct rsnd_mod *mod); int (*id_sub)(struct rsnd_mod *mod); + int (*id_cmd)(struct rsnd_mod *mod); }; struct rsnd_dai_stream; |