diff options
| author | Clément Péron <[email protected]> | 2020-10-30 15:46:34 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-10-30 17:58:50 +0000 |
| commit | 93c0210671d8f3ec2262da703fab93a1497158a8 (patch) | |
| tree | 5d6e6cf6ec4aa4674bbe04ca398f60084def79ae /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | ec6869b096f10526df14d9972a60ebffef72f0b9 (diff) | |
ASoC: sun4i-i2s: Fix lrck_period computation for I2S justified mode
Left and Right justified mode are computed using the same formula
as DSP_A and DSP_B mode.
Which is wrong and the user manual explicitly says:
LRCK_PERDIOD:
PCM Mode: Number of BCLKs within (Left + Right) channel width.
I2S/Left-Justified/Right-Justified Mode: Number of BCLKs within each
individual channel width(Left or Right)
Fix this by using the same formula as the I2S mode.
Fixes: 7ae7834ec446 ("ASoC: sun4i-i2s: Add support for DSP formats")
Signed-off-by: Clément Péron <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions