Andrey Konovalov 15ac1d99b8 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 <andreyknvl@google.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2019-10-22 10:36:03 +03:00
..
2019-09-17 18:40:42 -07:00
2019-09-02 19:20:57 +02:00
2019-09-18 10:33:46 -07:00
2019-10-04 16:01:23 +02:00
2019-09-22 10:34:46 -07:00
2019-09-03 19:00:39 +02:00
2019-09-02 19:20:57 +02:00