diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-03-02 09:34:24 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-07 13:13:05 +0000 |
commit | 814c9fc46fb987bdb3af093e4818c86e62db4fa5 (patch) | |
tree | cba69282117bfcb3d0373ba255a98cda3dc3c587 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cb00b4c18f89aa8ffb847cd033467f0958c025a0 (diff) |
ASoC: fsl_sai: simplify register poking in fsl_sai_set_bclk
Depending on SAI synchronization mode, the same value is either
written to FSL_SAI_TCR2 or FSL_SAI_RCR2 or nothing is written at all.
As the computation is the same either way, factor it out to make it
clearer what the difference is. No functional change.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lore.kernel.org/r/20220302083428.3804687-4-s.hauer@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