diff options
author | Jimmy Assarsson <extja@kvaser.com> | 2021-03-09 10:17:23 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-03-16 08:41:26 +0100 |
commit | 7c6e6bce08f918b64459415f58061d4d6df44994 (patch) | |
tree | 45cbdd859e28ca0626ef570c94011c169a41a273 /lib/test_overflow.c | |
parent | 47c5e474bc1e1061fb037d13b5000b38967eb070 (diff) |
can: kvaser_pciefd: Always disable bus load reporting
Under certain circumstances, when switching from Kvaser's linuxcan driver
(kvpciefd) to the SocketCAN driver (kvaser_pciefd), the bus load reporting
is not disabled.
This is flooding the kernel log with prints like:
[3485.574677] kvaser_pciefd 0000:02:00.0: Received unexpected packet type 0x00000009
Always put the controller in the expected state, instead of assuming that
bus load reporting is inactive.
Note: If bus load reporting is enabled when the driver is loaded, you will
still get a number of bus load packages (and printouts), before it is
disabled.
Fixes: 26ad340e582d ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices")
Link: https://lore.kernel.org/r/20210309091724.31262-1-jimmyassarsson@gmail.com
Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions