usb: dwc3: convert structures into bitshifts
authorFelipe Balbi <balbi@ti.com>
Fri, 30 Sep 2011 07:58:51 +0000 (10:58 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Oct 2011 17:25:56 +0000 (10:25 -0700)
commitdc1c70a774b6fe3744b330d58bb9cf802f7eac89
treee12ab3ac678d858968799c0f22d1b89283ce2982
parentaabb70752361a8b8ca44142a942a5bd133c4d304
usb: dwc3: convert structures into bitshifts

our parameter structures need to be written to
HW, so instead of assuming little endian, we
convert those into bit shifts.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/dwc3/ep0.c
drivers/usb/dwc3/gadget.c
drivers/usb/dwc3/gadget.h