usb: dwc3: gadget: re-factor Link state change to a function
authorFelipe Balbi <balbi@ti.com>
Mon, 2 Jan 2012 16:55:57 +0000 (18:55 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 6 Feb 2012 09:48:24 +0000 (11:48 +0200)
commit8598bde7fa125e85bc97decd6513d37dcf1e7bd9
treef33eab7bb8bc5e0197165215703dd0308c862d69
parent080d921fe7a8d27c07eba7723fe53a3bea100327
usb: dwc3: gadget: re-factor Link state change to a function

Most link changes will, of course, happen with
the help of a matching host HW, but in some cases
we might want to debug very low level details about
the link and exposing this to debugfs sounds like
a good plan.

This is a preparation for such setup.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c
drivers/usb/dwc3/gadget.h