diff options
author | Kai Vehmanen <kai.vehmanen@linux.intel.com> | 2021-02-16 19:22:51 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-02-17 18:04:40 +0000 |
commit | 8a353d7bafddb447fae136ca68899a6ba6187be6 (patch) | |
tree | e505f6b0e6810e172acf3bd45b26f362803d77f8 /fs/drop_caches.c | |
parent | 140f553d1298e0ddbe21983efe5789fe8b484273 (diff) | |
download | linux-stable-8a353d7bafddb447fae136ca68899a6ba6187be6.tar.gz linux-stable-8a353d7bafddb447fae136ca68899a6ba6187be6.tar.bz2 linux-stable-8a353d7bafddb447fae136ca68899a6ba6187be6.zip |
ASoC: soc-pcm: fix hw param limits calculation for multi-DAI
In case DPCM runtime has multiple CPU DAIs, dpcm_init_runtime_hw() is
called multiple times, once for each CPU DAI. This will lead to
ignoring hw limits of all but the last DAI.
Fix this by moving soc_pcm_hw_init() up by one level to
dpcm_init_runtime_hw().
Fixes: 140f553d1298 ("ASoC: soc-pcm: fix hwparams min/max init for dpcm")
Suggested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20210216172251.3023723-1-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/drop_caches.c')
0 files changed, 0 insertions, 0 deletions