]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: gadget: fix gadget suspend/resume
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 4 May 2016 12:50:27 +0000 (15:50 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:30:04 +0000 (12:30 +0300)
commitb5d68e28ebc04542eee5568d628f3f92143a8729
tree300dd24af3e0d5d534737f6e2acdcc955be7c9be
parent371d5b1799c462485f95c33da79f02899d21272d
usb: dwc3: gadget: fix gadget suspend/resume

Instead of trying hard to stay connected to the
host, it's best (and far easier) to disconnect from
the host already.

Anything relying on KEEP_CONNECT will just have that
ignored, but we don't have proper hibernation
implementation yet, so there are no regressions.

In any case, hibernation is only useful for runtime
PM, not system sleep.

While at that, also remove dwc3.dcfg which has been
rendered unnecessary.

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