diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-09-29 10:01:22 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-10-20 11:58:57 +0200 |
commit | f6adf410f70b6875ba6412e8909c742c3853201d (patch) | |
tree | 965d663e482d3b26d175ce2a3b9166f52d4a57eb /net/tipc/socket.h | |
parent | deb8534e8ef3905b5a977486d11d4d36b4f94347 (diff) |
can: gs_usb: gs_can_open(): sort checks for ctrlmode
Sort the checks for dev->can.ctrlmode by values of CAN_CTRLMODE_*, so
that it's clear where to add new checks.
While there, remove the comment that the Atmel UC3C hardware doesn't
support One Shot Mode. The One Shot mode is only available and to be
activated by the user, if the device specifies the feature bit
GS_CAN_FEATURE_ONE_SHOT.
Link: https://lore.kernel.org/all/20221019221016.1659260-3-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/tipc/socket.h')
0 files changed, 0 insertions, 0 deletions