aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorPatrice Chotard <[email protected]>2024-06-18 15:29:50 +0200
committerMark Brown <[email protected]>2024-06-18 14:48:26 +0100
commit63deee52811b2f84ed2da55ad47252f0e8145d62 (patch)
treead206e2a8586942e928917ecaeedf0a9e92fc49c /tools/perf/scripts/python/netdev-times.py
parentc2bd0791c5f02e964402624dfff45ca8995f5397 (diff)
spi: stm32: qspi: Clamp stm32_qspi_get_mode() output to CCR_BUSWIDTH_4
In case usage of OCTAL mode, buswidth parameter can take the value 8. As return value of stm32_qspi_get_mode() is used to configure fields of CCR registers that are 2 bits only (fields IMODE, ADMODE, ADSIZE, DMODE), clamp return value of stm32_qspi_get_mode() to 4. Fixes: a557fca630cc ("spi: stm32_qspi: Add transfer_one_message() spi callback") Cc: [email protected] Signed-off-by: Patrice Chotard <[email protected]> Link: https://msgid.link/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