diff options
author | Mark Brown <broonie@kernel.org> | 2018-06-22 15:47:23 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-06-22 15:47:23 +0100 |
commit | 44fedd7da485bafcc5eee8794fa54cfc0c047dd4 (patch) | |
tree | 3a6e3dd5f5c3ef4b4bde4026c6b50197d95ddf7d /sound/soc/sh/rcar/core.c | |
parent | 3bec6fa3cdd338860d4b7d4110a49292646d801e (diff) | |
parent | 1b31de922e28de2bf2078b7a1e341ad4aee6aa03 (diff) |
Merge branch 'asoc-4.18' into asoc-4.19 for amd dep
Diffstat (limited to 'sound/soc/sh/rcar/core.c')
-rw-r--r-- | sound/soc/sh/rcar/core.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index 6091e0916085..f8425d8b44d2 100644 --- a/sound/soc/sh/rcar/core.c +++ b/sound/soc/sh/rcar/core.c @@ -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" : " -- "); |