diff options
| author | 2020-11-24 19:47:38 +0100 | |
|---|---|---|
| committer | 2020-11-27 10:49:20 +0100 | |
| commit | e3409e4192535fbcc86a84b7a65d9351f46039ec (patch) | |
| tree | cb3365bde40bda8b4778301349a2aae749a35281 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | can: m_can: m_can_open(): remove IRQF_TRIGGER_FALLING from request_threaded_irq()'s flags (diff) | |
| download | linux-dev-e3409e4192535fbcc86a84b7a65d9351f46039ec.tar.xz linux-dev-e3409e4192535fbcc86a84b7a65d9351f46039ec.zip | |
can: m_can: fix nominal bitiming tseg2 min for version >= 3.1
At lest the revision 3.3.0 of the bosch m_can IP core specifies that valid
register values for "Nominal Time segment after sample point (NTSEG2)" are from
1 to 127. As the hardware uses a value of one more than the programmed value,
mean tseg2_min is 2.
This patch fixes the tseg2_min value accordingly.
Cc: Dan Murphy <dmurphy@ti.com>
Cc: Mario Huettel <mario.huettel@gmx.net>
Acked-by: Sriram Dash <sriram.dash@samsung.com>
Link: https://lore.kernel.org/r/20201124190751.3972238-1-mkl@pengutronix.de
Fixes: b03cfc5bb0e1 ("can: m_can: Enable M_CAN version dependent initialization")
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions
