]> git.baikalelectronics.ru Git - kernel.git/commit
usb:hsotg:samsung: Use new udc_start and udc_stop callbacks
authorLukasz Majewski <l.majewski@samsung.com>
Fri, 4 May 2012 12:17:10 +0000 (14:17 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 4 May 2012 12:53:15 +0000 (15:53 +0300)
commitb774b05430d97731cd943c7b2160c6be6cd4fa02
treeca080c69312b0010b8bcb4951f08b8669632fc1d
parent883b2e2d474a304d5bf2d6be74e4cc7afa8cdcbc
usb:hsotg:samsung: Use new udc_start and udc_stop callbacks

Replace of deprecated start and stop callbacks with a udc_start and
udc_stop ones.

Now the bind from composite driver is NOT called explicitly, so more
work needs to be done at s3c_udc_probe. Especially enabling SoC clocks
and power for runtime determination of EP number.
After probing, those sources are disabled and enabled again at udc_start
and pullup afterwards.

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