usb: dwc2: gadget: Use hw params from core
authorJohn Youn <John.Youn@synopsys.com>
Thu, 17 Dec 2015 19:17:45 +0000 (11:17 -0800)
committerFelipe Balbi <balbi@ti.com>
Tue, 22 Dec 2015 18:01:01 +0000 (12:01 -0600)
commit43e9034904dd37db7ed87fa8f5039c561c4004cd
tree84520743263e49a861e6d27242e589c84d6f4aff
parent55e1040e424b59063da627fb580ec953f4c01de7
usb: dwc2: gadget: Use hw params from core

Use the previously cached hw params in the gadget. This saves a reset
and force mode in the gadget initialization during probe and makes
getting the hardware parameters consistent between gadget and host.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c
This page took 0.035216 seconds and 5 git commands to generate.