usb: s3c-otg: Allow custom gusbcfg
authorMarek Vasut <marex@denx.de>
Tue, 4 Nov 2014 03:23:25 +0000 (04:23 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 7 Nov 2014 15:32:02 +0000 (16:32 +0100)
commit481a11c552978132a7e291213762af82ed3e7003
tree26cce85bea2af306b8e04d4800b36ba69942f439
parentd1b6c77e1f7ed4821da008c80325f589fcf44df9
usb: s3c-otg: Allow custom gusbcfg

Allow passing in a custom configuration of the gusbcfg register
via platform data.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Vince Bridgers <vbridger@altera.com>
Acked-by: Pavel Machek <pavel@denx.de>
Cc: Stefan Roese <sr@denx.de>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/usb/gadget/s3c_udc_otg.c
drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
include/usb/s3c_udc.h