aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorRobert Hancock <[email protected]>2022-01-20 13:58:29 -0600
committerMark Brown <[email protected]>2022-01-24 19:45:38 +0000
commitc47aef899c1bb0cbda48808356e7c040d95ca612 (patch)
treeb77703935e75c38696283c079c382a6f4147f638 /tools/perf/scripts/python/netdev-times.py
parent5e46c63ca22278fe363dfd9f5360c2e2ad082087 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions