diff options
| author | Maxime Ripard <[email protected]> | 2019-08-19 21:25:15 +0200 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-08-20 18:31:24 +0100 |
| commit | fb19739d7f688142b61d0fca476188c4fd9e937a (patch) | |
| tree | d7538620d176ff99cf8b2927bf640cea63bf63f8 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 71137bcd0a9a778f9407a3bee46c62fcccee4f83 (diff) | |
ASoC: sun4i-i2s: Use module clock as BCLK parent on newer SoCs
On the first generation of Allwinner SoCs (A10-A31), the i2s controller was
using the MCLK as BCLK parent. However, this changed since the introduction
of the A83t and BCLK now uses the module clock as its parent.
Let's introduce a hook to get the parent rate and use that in our divider
calculations.
Fixes: 7d2993811a1e ("ASoC: sun4i-i2s: Add support for H3")
Fixes: 21faaea1343f ("ASoC: sun4i-i2s: Add support for A83T")
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://lore.kernel.org/r/0b6665be216b3bd0e7bc43724818f05f3f8ee881.1566242458.git-series.maxime.ripard@bootlin.com
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions