usb: musb: ux500: use clk_prepare_enable and clk_disable_unprepare
authorFabio Baltieri <fabio.baltieri@linaro.org>
Mon, 7 Jan 2013 16:47:41 +0000 (17:47 +0100)
committerFelipe Balbi <balbi@ti.com>
Thu, 17 Jan 2013 13:45:32 +0000 (15:45 +0200)
commit99d17cfa3bbc6f4edb175f819af59c6b9e245e82
tree3f55c421c4d1a3887e7a84f81a04c1651dd9ec5d
parentf27862819350d2c1a679b690b5b3559e632e81eb
usb: musb: ux500: use clk_prepare_enable and clk_disable_unprepare

This patch converts the module to use clk_prepare_enable and
clk_disable_unprepare variants as required by common clock framework.

Without this the system crash during probe function.

Cc: <stable@vger.kernel.org> # v3.7 v3.8
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/ux500.c