]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc2: gadget: decouple setting soft-disconnect from s3c_hsotg_core_init
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 20 Oct 2014 10:45:36 +0000 (12:45 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:01:22 +0000 (10:01 -0600)
commit31b6a329a893742ccf3c1d71df3ed9f3bf44f6e9
tree5dae1a78fa9faff37b2ca31f6edbe2995810f6f6
parent28c755ce163004f40836194be2a5e274df54fff4
usb: dwc2: gadget: decouple setting soft-disconnect from s3c_hsotg_core_init

This patch changes s3c_hsotg_core_init function to leave hardware in
soft disconnect mode, so the moment of coupling the hardware to the usb
bus can be later controlled by the separate functions for enabling and
disabling soft disconnect mode. This patch is a preparation to rework
pullup() method.

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