aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTorin Cooper-Bennun <[email protected]>2021-02-26 16:34:41 +0000
committerMarc Kleine-Budde <[email protected]>2021-03-01 11:45:15 +0100
commit2712625200ed69c642b9abc3a403830c4643364c (patch)
tree6ea04b92858aec265cfc486c670023f6f6617997 /tools/perf/scripts/python
parente940e0895a82c6fbaa259f2615eb52b57ee91a7e (diff)
can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode
This patch prevents a potentially destructive race condition. The device is fully operational on the bus after entering Normal Mode, so zeroing the MRAM after entering this mode may lead to loss of information, e.g. new received messages. This patch fixes the problem by first initializing the MRAM, then bringing the device into Normale Mode. Fixes: 5443c226ba91 ("can: tcan4x5x: Add tcan4x5x driver to the kernel") Link: https://lore.kernel.org/r/[email protected] Suggested-by: Marc Kleine-Budde <[email protected]> Signed-off-by: Torin Cooper-Bennun <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions