lkml.org 
[lkml]   [2022]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[PATCH 0/2] Provide a hook to check port init status
From
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

\
 
 \ /
  Last update: 2022-08-16 12:27    [W:0.227 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site