android_kernel_oneplus_msm8998/drivers/usb/gadget
Andrzej Pietrasiewicz fbdecad99c usb: gadget: f_printer: use non-zero flag for bitwise and
USB_DIR_OUT happens to be zero, so the result of bitwise and is always 0.
Consequently, break will never happen in the SOFT_RESET case.
This patch uses a compatible condition with a non-zero USB_DIR_IN,
which might or might not evaluate to zero.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-03-13 10:41:05 -05:00
..
function usb: gadget: f_printer: use non-zero flag for bitwise and 2015-03-13 10:41:05 -05:00
legacy usb: gadget: printer: use module_usb_composite_driver helper macro 2015-03-10 15:33:41 -05:00
udc usb: gadget: lpc32xxx_udc: Fix NULL dereference 2015-03-11 14:59:10 -05:00
composite.c usb: gadget: Fix typo fond in Documentation/Docbook/gadget.xml 2015-03-11 10:19:35 -05:00
config.c
configfs.c usb: gadget: configfs: don't NUL-terminate (sub)compatible ids 2015-02-23 09:37:27 -06:00
configfs.h
epautoconf.c
functions.c
Kconfig usb: gadget: printer: add configfs support 2015-03-10 15:33:41 -05:00
Makefile
u_f.c
u_f.h
u_os_desc.h
usbstring.c