linux/drivers/usb/renesas_usbhs
Felipe Balbi 14ff96e04c usb: renesas: pipe: convert a long if into a XOR operation
This is just a minor optimization for the long
if we have on the driver.

When we want to check that one input is true
and the other must be false, the bitwise XOR
operator will achieve that for us.

Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2011-12-21 13:24:43 +02:00
..
common.c usb: renesas_usbhs: add test-mode support 2011-12-12 11:45:20 +02:00
common.h usb: renesas_usbhs: add test-mode support 2011-12-12 11:45:20 +02:00
fifo.c usb: renesas_usbhs: care pipe sequence 2011-12-13 13:06:26 +02:00
fifo.h usb: renesas_usbhs: care pipe sequence 2011-12-13 13:06:26 +02:00
Kconfig usb: gadget: renesas_usbhs: drop dependency 2011-10-13 20:41:54 +03:00
Makefile usb: gadget: renesas_usbhs: fixup driver compile style 2011-10-13 20:41:54 +03:00
mod.c usb: gadget: renesas_usbhs: unified callback function 2011-12-12 11:44:59 +02:00
mod.h usb: gadget: renesas_usbhs: fixup section mismatch warning 2011-11-14 11:51:23 -08:00
mod_gadget.c usb: renesas_usbhs: silence a gcc warning 2011-12-15 13:45:58 +02:00
mod_host.c usb: renesas_usbhs: tidyup for smatch warnings 2011-12-15 12:59:17 +02:00
pipe.c usb: renesas: pipe: convert a long if into a XOR operation 2011-12-21 13:24:43 +02:00
pipe.h usb: renesas_usbhs: add usbhs_pipe_is_stall() 2011-12-12 11:45:15 +02:00