usb: gadget: hsotg: pullup method implementation for s3c-hsotg UDC driver
authorLukasz Majewski <l.majewski@samsung.com>
Fri, 22 Jun 2012 07:29:56 +0000 (09:29 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 22 Jun 2012 10:25:02 +0000 (13:25 +0300)
commita188b6897e3dca82dd6f5beceabf1fc62b9786d9
treea193fdafdae4b81336e06d6b38b82e39842a925e
parentd6e16a89578fcc8834be634c85c5c5ddc2d13229
usb: gadget: hsotg: pullup method implementation for s3c-hsotg UDC driver

This commit adds pullup method implementation for UDC s3c-hsotg driver.
It is needed for e.g. CCG - Configurable Composite Gadget, when user space
configuration change request device disconnection from USB bus (done via
calling usb_gadget_connect/disconnect, which calls UDC's pullup method).

Implementation of pullup method has caused removal of phy_enable and
core_init methods from udc_start to pullup.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsotg.c