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)
commitf65f0f109878d795854a0a879d5029c7ea560867
treeca080c69312b0010b8bcb4951f08b8669632fc1d
parentb3f489b2b658e530f5cdefe4d38c60cf13453e43
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