Merge branch 'asoc-4.18' into asoc-4.19 for amd dep
[muen/linux.git] / sound / soc / sh / rcar / core.c
index 6091e09160853e594d33790f75c77aa076ea2cb5..f8425d8b44d2b54aff876f8759e81c740cb6157a 100644 (file)
@@ -1090,6 +1090,12 @@ static void __rsnd_dai_probe(struct rsnd_priv *priv,
                of_node_put(capture);
        }
 
+       if (rsnd_ssi_is_pin_sharing(io_capture) ||
+           rsnd_ssi_is_pin_sharing(io_playback)) {
+               /* should have symmetric_rates if pin sharing */
+               drv->symmetric_rates = 1;
+       }
+
        dev_dbg(dev, "%s (%s/%s)\n", rdai->name,
                rsnd_io_to_mod_ssi(io_playback) ? "play"    : " -- ",
                rsnd_io_to_mod_ssi(io_capture) ? "capture" : "  --   ");