usb: phy: tegra: Return correct error value provided by clk_get_sys
authorVenu Byravarasu <vbyravarasu@nvidia.com>
Thu, 16 May 2013 14:12:58 +0000 (19:42 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 May 2013 23:45:44 +0000 (02:45 +0300)
commit9e69fae1a89e543949fe81603f7229463b8061de
treed1bfa2cb16037b8a5c07286d37f17c46e4d8eb75
parent10b2a9386504d83b076fcd06ddbc22b33719d51b
usb: phy: tegra: Return correct error value provided by clk_get_sys

In case if clk_get_sys fails, return correct error value provided by
the API.

Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-tegra-usb.c