aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/atom/sst-mfld-platform-pcm.c
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2021-07-29 18:09:29 +0100
committerMark Brown <broonie@kernel.org>2021-07-29 18:51:13 +0100
commit926ef1a4c245c093acc07807e466ad2ef0ff6ccb (patch)
treebb87d3e206d4add098d4270f2b2d486b7253818c /sound/soc/intel/atom/sst-mfld-platform-pcm.c
parentASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J (diff)
downloadlinux-dev-926ef1a4c245c093acc07807e466ad2ef0ff6ccb.tar.xz
linux-dev-926ef1a4c245c093acc07807e466ad2ef0ff6ccb.zip
ASoC: cs42l42: Fix bclk calculation for mono
An I2S frame always has a left and right channel slot even if mono data is being sent. So if channels==1 the actual bitclock frequency is 2 * snd_soc_params_to_bclk(params). Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Fixes: 2cdba9b045c7 ("ASoC: cs42l42: Use bclk from hw_params if set_sysclk was not called") Link: https://lore.kernel.org/r/20210729170929.6589-3-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/atom/sst-mfld-platform-pcm.c')
0 files changed, 0 insertions, 0 deletions