aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorAndrey Konovalov <[email protected]>2019-10-21 14:20:59 +0000
committerFelipe Balbi <[email protected]>2019-10-22 07:36:03 +0000
commit15ac1d99b84578e6fac804bffcb5bec8d0424d77 (patch)
tree208cc5ae6f63273c9ac7a6b7932a936b528377ff /drivers/usb/cdns3/cdns3-ti.c
parentUSB: dummy-hcd: increase max number of devices to 32 (diff)
downloadkernel-15ac1d99b84578e6fac804bffcb5bec8d0424d77.tar.gz
kernel-15ac1d99b84578e6fac804bffcb5bec8d0424d77.zip
USB: dummy-hcd: use usb_urb_dir_in instead of usb_pipein
Commit fea3409112a9 ("USB: add direction bit to urb->transfer_flags") has added a usb_urb_dir_in() helper function that can be used to determine the direction of the URB. With that patch USB_DIR_IN control requests with wLength == 0 are considered out requests by real USB HCDs. This patch changes dummy-hcd to use the usb_urb_dir_in() helper to match that behavior. Signed-off-by: Andrey Konovalov <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions