Skip to content

Commit 03cd00d

Browse files
ydu19gregkh
authored andcommitted
usbip: vhci-hcd: Set the vhci structure up to work
This patch enables the new vhci structure. Its lock protects both the USB2 hub and the shared USB3 hub. Signed-off-by: Yuyang Du <yuyang.du@intel.com> Acked-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent dff3565 commit 03cd00d

4 files changed

Lines changed: 145 additions & 105 deletions

File tree

‎drivers/usb/usbip/vhci.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ struct vhci {
100100
struct vhci_hcd {
101101
struct vhci *vhci;
102102

103-
spinlock_t lock;
104-
105103
u32 port_status[VHCI_HC_PORTS];
106104

107105
unsigned resuming:1;

0 commit comments

Comments
 (0)