]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dwc2: gadget: move setting last reset time to s3c_hsotg_core_init
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 20 Oct 2014 10:45:35 +0000 (12:45 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:01:22 +0000 (10:01 -0600)
commitac3c81f3e8dcb435a92e03e2fa069d1e60687cfe
treef94c0285e1de25b7ade55dbf49f748070d744c96
parent1f79b26cf3090f024b3a02cfc3b692bc6482c576
usb: dwc2: gadget: move setting last reset time to s3c_hsotg_core_init

This patch removes duplicated code and sets last_rst variable in the
function which does the hardware reset.

Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c