US_BULK_FLAG_IN is defined as 1 and not used. The USB storage spec says that bit 7 of flags within CBW defines the data direction. 1 is DATA-IN (read from device) and 0 is the DATA-OUT. Bit 6 is obselete and bits 0-5 are reserved. This patch redefines the unsued define US_BULK_FLAG_IN from 1 to 1 << 7 aka 0x80 and replaces the obvious users. In a following patch the storage gadget will use it as well. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|---|---|---|
| .. | ||
| association.h | ||
| atmel_usba_udc.h | ||
| audio-v2.h | ||
| audio.h | ||
| c67x00.h | ||
| cdc.h | ||
| ch9.h | ||
| ch11.h | ||
| composite.h | ||
| ehci_def.h | ||
| functionfs.h | ||
| g_hid.h | ||
| g_printer.h | ||
| gadget.h | ||
| gadgetfs.h | ||
| gpio_vbus.h | ||
| hcd.h | ||
| input.h | ||
| intel_mid_otg.h | ||
| iowarrior.h | ||
| irda.h | ||
| isp116x.h | ||
| isp1362.h | ||
| isp1760.h | ||
| Kbuild | ||
| langwell_udc.h | ||
| m66592.h | ||
| midi.h | ||
| msm_hsusb.h | ||
| msm_hsusb_hw.h | ||
| musb.h | ||
| net2280.h | ||
| otg.h | ||
| quirks.h | ||
| r8a66597.h | ||
| renesas_usbhs.h | ||
| rndis_host.h | ||
| serial.h | ||
| sl811.h | ||
| storage.h | ||
| tmc.h | ||
| uas.h | ||
| ulpi.h | ||
| usbnet.h | ||
| video.h | ||
| wusb-wa.h | ||
| wusb.h | ||