aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorRobert Hancock <robert.hancock@calian.com>2022-01-20 13:58:29 -0600
committerMark Brown <broonie@kernel.org>2022-01-24 19:45:38 +0000
commitc47aef899c1bb0cbda48808356e7c040d95ca612 (patch)
treeb77703935e75c38696283c079c382a6f4147f638 /tools/perf/scripts/python/libxed.py
parentASoC: xilinx: xlnx_i2s: create drvdata structure (diff)
downloadlinux-c47aef899c1bb0cbda48808356e7c040d95ca612.tar.gz
linux-c47aef899c1bb0cbda48808356e7c040d95ca612.zip
ASoC: xilinx: xlnx_i2s: Handle sysclk setting
This driver previously only handled the set_clkdiv divider callback when setting the SCLK Out Divider field in the I2S Timing Control register. However, when using the simple-audio-card driver, the set_sysclk function is called but not set_clkdiv. This caused the divider not to be set, leaving it at an invalid value of 0 and resulting in a very low SCLK output rate. Handle set_clkdiv and store the sysclk (MCLK) value for later use in hw_params to set the SCLK Out Divider such that: MCLK/SCLK = divider * 2 Signed-off-by: Robert Hancock <robert.hancock@calian.com> Link: https://lore.kernel.org/r/20220120195832.1742271-4-robert.hancock@calian.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions