usb: dwc2: gadget: write correct value in ahbcfg register
authorGregory Herrero <gregory.herrero@intel.com>
Fri, 9 Jan 2015 12:38:46 +0000 (13:38 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 21:32:54 +0000 (15:32 -0600)
commit5f05048e5473a0570b1db9c2828d2a469e8bbbee
tree00c545740b298136b81a165313689354cae84d1e
parentc139ec27f9c77c7c215d7989f6d77e2dbaba63df
usb: dwc2: gadget: write correct value in ahbcfg register

HBstLen is GAHBCFG[4:1]. Use GAHBCFG_HBSTLEN_SHIFT to write burst-
length at correct position.

Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c