diff options
| author | Samuel Holland <[email protected]> | 2020-10-14 01:19:30 -0500 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-10-26 14:56:56 +0000 |
| commit | 68a4f2caaa17ce62890c51ef957dd008c2e42aae (patch) | |
| tree | 894a8f1b380cbc28b90ff057f5c83b21bfd781cf /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | e511aed79632e8a2dd03068f8bd11b64cb0d7170 (diff) | |
ASoC: sun8i-codec: Correct the BCLK divisor calculation
Previously, the BCLK divisor calculation assumed zero padding and
exactly two slots. In order to support the TDM slot binding and
20/24-bit word sizes, those assumptions must be removed.
Due to hardware limitations, the BCLK/LRCK ratio is not as simple as
"slot_width * slots". However, the correct value is already calculated
elsewhere in this function, since it must also be programmed into the
hardware. Reuse that value to calculate the correct SYSCLK/BCLK divisor.
Acked-by: Maxime Ripard <[email protected]>
Signed-off-by: Samuel Holland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions