usb: gadget: mv_udc: fix hang when shutdown
authorYunfan Zhang <yfzhang@marvell.com>
Tue, 10 Jul 2012 02:07:06 +0000 (10:07 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 23 Aug 2012 08:04:16 +0000 (11:04 +0300)
commit1dcaa252fdf01e4ba49ece156812043baf01c7cc
treed6e8578eadbde578f7b491e631010b21832beaed
parent60326ce377090541db9ba1a05a041316ab5b46ec
usb: gadget: mv_udc: fix hang when shutdown

Fix system hang in udc shutdown routine which caused by accessing usb
register when clock is disabled. So enable usb clock before access
register.

Signed-off-by: Yunfan Zhang <yfzhang@marvell.com>
Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/mv_udc_core.c