diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2024-07-05 18:28:27 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2024-08-06 10:52:00 +0300 |
commit | 50ea5449c56310d2d31c28ba91a59232116d3c1e (patch) | |
tree | 343c51d68210e4c88b40ef28b16817bdc0b9d3a5 /tools/perf/scripts/python | |
parent | 053ae05f8032937ded7049366f2e6e7b36c6d6e9 (diff) | |
download | linux-50ea5449c56310d2d31c28ba91a59232116d3c1e.tar.xz |
can: mcp251xfd: fix ring configuration when switching from CAN-CC to CAN-FD mode
If the ring (rx, tx) and/or coalescing parameters (rx-frames-irq,
tx-frames-irq) have been configured while the interface was in CAN-CC
mode, but the interface is brought up in CAN-FD mode, the ring
parameters might be too big.
Use the default CAN-FD values in this case.
Fixes: 9263c2e92be9 ("can: mcp251xfd: ring: add support for runtime configurable RX/TX ring parameters")
Link: https://lore.kernel.org/all/20240805-mcp251xfd-fix-ringconfig-v1-1-72086f0ca5ee@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions