diff options
author | Hugo Villeneuve <[email protected]> | 2023-12-21 18:18:10 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-01-04 16:30:04 +0100 |
commit | 3ef79cd1412236d884ab0c46b4d1921380807b48 (patch) | |
tree | 35fb8d01909bcd4a5521cc000c2f17cfa4385347 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6d710b769c1f5f0d55c9ad9bb49b7dce009ec103 (diff) |
serial: sc16is7xx: set safe default SPI clock frequency
15 MHz is supported only by 76x variants.
If the SPI clock frequency is not specified, use a safe default clock value
of 4 MHz that is supported by all variants.
Also use HZ_PER_MHZ macro to improve readability.
Fixes: 2c837a8a8f9f ("sc16is7xx: spi interface is added")
Cc: <[email protected]>
Signed-off-by: Hugo Villeneuve <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions