summaryrefslogtreecommitdiffstats
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2014-10-20 12:45:38 +0200
committerFelipe Balbi <balbi@ti.com>2014-11-03 10:01:23 -0600
commit5b9451f8c4fbaf0549139755fb45ff2b57975b7f (patch)
tree0b78e6548a300f79a47e20c732cf6abe9185c6ee /include/linux/root_dev.h
parentc816c47fe6205b18ff6f8843c258ca35c1536dac (diff)
usb: dwc2: gadget: use soft-disconnect udc feature in pullup() method
This patch moves udc initialization from pullup() method to s3c_hsotg_udc_start(), so that method ends with hardware fully initialized and left in soft-disconnected state. After this change, the pullup() method simply clears soft-disconnect start() when called with is_on=1. For completeness, a call to s3c_hsotg_core_disconnect() has been added when pullup() method is called with is_on=0, what puts the udc hardware back to soft-disconnected state. Acked-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions