All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Provide a hook to check port init status
@ 2022-08-16  8:38 Ray Chi
  2022-08-16  8:38 ` [PATCH 1/2] usb: core: add " Ray Chi
  2022-08-16  8:38 ` [PATCH 2/2] usb: xhci: add check_init_status hook support Ray Chi
  0 siblings, 2 replies; 6+ messages in thread
From: Ray Chi @ 2022-08-16  8:38 UTC (permalink / raw)
  To: gregkh, mathias.nyman, stern
  Cc: badhri, albertccwang, linux-usb, linux-kernel, Ray Chi

Currently, only usbcore knows port init status even if the result
is bad, so it will keep doing USB enumeration and other drivers can't
do anything. Add the hook to let other drivers know the status and do
error handling.

Ray Chi (2):
  usb: core: add a hook to check port init status
  usb: xhci: add check_init_status hook support

 drivers/usb/core/hub.c  | 14 ++++++++++++++
 drivers/usb/host/xhci.c | 17 +++++++++++++++++
 drivers/usb/host/xhci.h |  1 +
 include/linux/usb/hcd.h |  8 ++++++++
 4 files changed, 40 insertions(+)

-- 
2.37.1.595.g718a3a8f04-goog


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

end of thread, other threads:[~2022-08-22 15:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-16  8:38 [PATCH 0/2] Provide a hook to check port init status Ray Chi
2022-08-16  8:38 ` [PATCH 1/2] usb: core: add " Ray Chi
2022-08-16 13:53   ` Alan Stern
2022-08-16  8:38 ` [PATCH 2/2] usb: xhci: add check_init_status hook support Ray Chi
2022-08-16  8:57   ` Greg KH
2022-08-22 15:42     ` Ray Chi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.