USB: s3c-hsotg: add support for clock gating
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 19 Jul 2010 14:01:42 +0000 (16:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:43 +0000 (14:35 -0700)
commit31ee04de7e670de4199572595cce4aaa7f7f6351
tree87757aa24d1654239d96fdaa152ec1f198e96ae6
parent1eb838d3e2a473acbb9b21278e75b79640fb2c7b
USB: s3c-hsotg: add support for clock gating

This patch adds support for clock gating of the HS/OTG block. On S5PV210
otg gating clock is initally disabled so the driver needs to get and
enable it before it can access its registers.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/s3c-hsotg.c