usb: dwc3: gadget: clear SUSPHY bit before ep cmds
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 4 Apr 2016 06:19:17 +0000 (09:19 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 18 Apr 2016 12:23:41 +0000 (15:23 +0300)
commit2b0f11df84bb66c9ac71395382c018f33c3ff9a4
treeb916dd7210fcd4664f18420891e0aef64a0dd981
parentc0ca324d09a041ab56be1aaeb5a7cc64c47f877b
usb: dwc3: gadget: clear SUSPHY bit before ep cmds

Synopsys Databook 2.60a has a note that if we're
sending an endpoint command we _must_ make sure that
DWC3_GUSB2PHY(n).SUSPHY bit is cleared.

This patch implements that particular detail.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c