[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220816083854.1491886-1-raychi@google.com>
Date: Tue, 16 Aug 2022 16:38:52 +0800
From: Ray Chi <raychi@...gle.com>
To: gregkh@...uxfoundation.org, mathias.nyman@...el.com,
stern@...land.harvard.edu
Cc: badhri@...gle.com, albertccwang@...gle.com,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Ray Chi <raychi@...gle.com>
Subject: [PATCH 0/2] Provide a hook to check port init status
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
Powered by blists - more mailing lists