aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2021-04-23 15:54:02 +0200
committerMark Brown <broonie@kernel.org>2021-04-26 13:44:46 +0100
commit6c9762a78c325107dc37d20ee21002b841679209 (patch)
treed11ba8acb0ebddb8c72f4ad6f47247210127aba4 /tools/perf/scripts/python/export-to-postgresql.py
parentASoC: simple-card: Fix breakage on kontron-sl28-var3-ads2 (diff)
downloadwireguard-linux-6c9762a78c325107dc37d20ee21002b841679209.tar.xz
wireguard-linux-6c9762a78c325107dc37d20ee21002b841679209.zip
ASoC: max98088: fix ni clock divider calculation
The ni1/ni2 ratio formula [1] uses the pclk which is the prescaled mclk. The max98088 datasheet [2] has no such formula but table-12 equals so we can assume that it is the same for both devices. While on it make use of DIV_ROUND_CLOSEST_ULL(). [1] https://datasheets.maximintegrated.com/en/ds/MAX98089.pdf; page 86 [2] https://datasheets.maximintegrated.com/en/ds/MAX98088.pdf; page 82 Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.kernel.org/r/20210423135402.32105-1-m.felsch@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions