summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/adau1701.c
diff options
context:
space:
mode:
authorKai Vehmanen <kai.vehmanen@linux.intel.com>2021-02-16 20:22:51 +0300
committerMark Brown <broonie@kernel.org>2021-02-17 21:04:40 +0300
commit8a353d7bafddb447fae136ca68899a6ba6187be6 (patch)
treee505f6b0e6810e172acf3bd45b26f362803d77f8 /sound/soc/codecs/adau1701.c
parent140f553d1298e0ddbe21983efe5789fe8b484273 (diff)
downloadlinux-8a353d7bafddb447fae136ca68899a6ba6187be6.tar.xz
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 'sound/soc/codecs/adau1701.c')
0 files changed, 0 insertions, 0 deletions