Skip to content

ch9200: stop ignoring the register write errors

Sergey Shtylyov linux-usb lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesApplied 2/2
  2. v11 patch 4 repliesSuperseded

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2ch9200: return error on failed register writes in ch9200_bind()drivers/net/usb/ch9200.c+12 -00 repliesApplied
2/2ch9200: do return USB errors from control_write()drivers/net/usb/ch9200.c+0 -20 repliesApplied

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH net-next v3 0/2] ch9200: stop ignoring the register write errors

The successful register writes, done via the USB control requests, seem vital for the normal functioning of the device, however the driver tends to completely ignore the register write errors, even though it could well propagate the errors from its bind() method. Additionally, it masks any USB errors returned by usb_control_msg(), pretending that the call was successful. Let's stop doing all that and see how it goes... :-)

Sergey Shtylyov (2):
ch9200: return error on failed register writes in ch9200_bind()
ch9200: do return USB errors from control_write()

 drivers/net/usb/ch9200.c | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
Signature · 1 line
2.55.0