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

Sergey Shtylyov posted 2 patches 17 hours ago
drivers/net/usb/ch9200.c | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
[PATCH net-next v3 0/2] ch9200: stop ignoring the register write errors
Posted by Sergey Shtylyov 17 hours ago
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(-)

-- 
2.55.0