mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] ch9200: stop ignoring the register write errors
@ 2026-09-23 20:14 Sergey Shtylyov
  2026-09-23 20:14 ` [PATCH net-next v3 1/2] ch9200: return error on failed register writes in ch9200_bind() Sergey Shtylyov
  2026-09-23 20:14 ` [PATCH net-next v3 2/2] ch9200: do return USB errors from control_write() Sergey Shtylyov
  0 siblings, 2 replies; 3+ messages in thread
From: Sergey Shtylyov @ 2026-09-23 20:14 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, linux-usb, netdev
  Cc: Sergey Shtylyov, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-23 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 20:14 [PATCH net-next v3 0/2] ch9200: stop ignoring the register write errors Sergey Shtylyov
2026-09-23 20:14 ` [PATCH net-next v3 1/2] ch9200: return error on failed register writes in ch9200_bind() Sergey Shtylyov
2026-09-23 20:14 ` [PATCH net-next v3 2/2] ch9200: do return USB errors from control_write() Sergey Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®