usb: dwc2: use u32 for DT binding parameters
authorLeo Yan <leo.yan@linaro.org>
Mon, 9 Jan 2017 21:09:55 +0000 (13:09 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 12 Jan 2017 08:02:20 +0000 (10:02 +0200)
commitb2f92f0ff0a26a6d758ce85167a77d7d1268ca36
tree428966bc786ea57241afb17edd6501b43c2f9d13
parent08f37148b6a915a6996c7dbef87769b9efee2dba
usb: dwc2: use u32 for DT binding parameters

Commit 05ee799f2021 ("usb: dwc2: Move gadget settings into core_params")
changes to type u16 for DT binding "g-rx-fifo-size" and
"g-np-tx-fifo-size" but use type u32 for "g-tx-fifo-size". Finally the
the first two parameters cannot be passed successfully with wrong data
format. This is found the data transferring broken on 96boards Hikey.

This patch is to change all parameters to u32 type, and verified on
Hikey board the DT parameters can pass successfully.

[johnyoun: minor rebase]

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Tested-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/params.c