]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ASoC: rsnd: add missing pin sharing with SSI9
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 26 Jun 2019 02:00:05 +0000 (11:00 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 26 Jun 2019 11:28:35 +0000 (12:28 +0100)
When SSI9 is sharing pin with SSI0, we need to care about it,
but is missing. This patch fixup it.

Reported-by: Hien Dang <hien.dang.eb@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Chaoliang Qin <chaoliang.qin.jg@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/adg.c
sound/soc/sh/rcar/ssi.c

index e821ccc70f478eeb2ef9fae75bcb3c5156f96b38..fce4e050a9b70567700f577363de8493d71d85d3 100644 (file)
@@ -87,6 +87,7 @@ static u32 rsnd_adg_ssi_ws_timing_gen2(struct rsnd_dai_stream *io)
                switch (id) {
                case 1:
                case 2:
+               case 9:
                        ws = 0;
                        break;
                case 4:
index 44bda210256e347fccc7afeab7d9dc7491884978..f6a7466622ea6b610e9c12d4a40658ed80cbd093 100644 (file)
@@ -740,6 +740,7 @@ static void rsnd_ssi_parent_attach(struct rsnd_mod *mod,
        switch (rsnd_mod_id(mod)) {
        case 1:
        case 2:
+       case 9:
                rsnd_dai_connect(rsnd_ssi_mod_get(priv, 0), io, RSND_MOD_SSIP);
                break;
        case 4: