Skip to content

can: gs_usb: cleanups and termination support

Marc Kleine-Budde linux-can 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 5 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3can: gs_usb: gs_make_candev(): convert from usb_control_msg() to usb_control_msg_recv()drivers/net/can/usb/gs_usb.c+33 -490 replies
2/3can: gs_usb: gs_make_candev(): clean up error handlingdrivers/net/can/usb/gs_usb.c+13 -80 replies
3/3can: gs_usb: add switchable termination supportdrivers/net/can/usb/gs_usb.c+77 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] can: gs_usb: cleanups and termination support

Hello,

this series first cleans up the driver a bit and then adds switchable termination support.

regards,
Marc

changes since v1 https://lore.kernel.org/all/[email protected]:
- add 1/3: "can: gs_usb: gs_make_candev(): convert from usb_control_msg() to usb_control_msg_recv()" to make error handling easier
- add 2/3: "can: gs_usb: gs_make_candev(): clean up error handling"
which introduces a cleanup label
- move 1/3 to 3/3:
- fix gs_usb_get_termination(), set term value
- remove check of termination value from gs_usb_set_termination()
- check for initial termination in gs_make_candev()