diff options
author | Peter Chen <peter.chen@nxp.com> | 2017-07-19 09:40:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-22 16:56:53 +0300 |
commit | 1bb90cf0462c9a07cb428e9dd9665041fe7f9e18 (patch) | |
tree | 8117559e9b2799a337aeae5d0706115df7533702 /drivers/usb/class | |
parent | d9241ff2f2acbc9241bcb4fb58c36d6a56f8c73a (diff) | |
download | linux-1bb90cf0462c9a07cb428e9dd9665041fe7f9e18.tar.xz |
usb: core: hub: controller driver name may be NULL
The controller driver may be NULL if the controller device
is the middle device between platform device and roothub.
This middle device may not need a device driver due to all
hardware control can be at platform device driver, this
platform device is usually a dual-role USB controller device.
The benefit of using this middle device is we can keep both
controller device's private data (known as struct usb_hcd)
for USB core use, and platform device's private data for
platform driver use.
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class')
0 files changed, 0 insertions, 0 deletions