can: gs_usb: add ability to enable / disable berr reporting
authorJeroen Hofstee <jhofstee@victronenergy.com>
Sun, 28 Aug 2022 08:59:10 +0000 (10:59 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 20 Oct 2022 09:59:27 +0000 (11:59 +0200)
commit2f3cdad1c616891ab25ce10c1ac146403605b960
tree2ae8ab8b383dfbbdc0ca7f98c699d40d6e45b733
parent1f1835264d81da03fcd05646542a622678b379d6
can: gs_usb: add ability to enable / disable berr reporting

The open source firmware candleLight report bus errors
unconditionally. This adds support to enable / disable bus error
reporting with the standard netlink property.

Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Link: https://lore.kernel.org/all/20221019221016.1659260-6-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/gs_usb.c