USB: DWC3: Issue device soft reset before core soft reset
authorPratyush Anand <pratyush.anand@st.com>
Thu, 21 Jun 2012 12:14:29 +0000 (17:44 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 22 Jun 2012 10:22:46 +0000 (13:22 +0300)
commit58a0f23fddd0a71d8fa22e6ef7627298a8ed29a6
treec034dd259388b1a8d063d6afd79ecbf633f522ab
parent45627ac6a4f063d19b0bd9863d20ac1dabda99a7
USB: DWC3: Issue device soft reset before core soft reset

Synopsys specification clearly states under section "Device Power-On or
Soft Reset" that DCTL.CSftRst=1 should be first step.  So, just follow
what specification says.

Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c