drm/tegra: Disable clock on probe failure
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 21 Oct 2013 05:38:34 +0000 (13:38 +0800)
committerThierry Reding <treding@nvidia.com>
Thu, 31 Oct 2013 08:55:47 +0000 (09:55 +0100)
commitb0084031f2c68ba65e3a1776cf4f8a23448afa41
tree83aa26e7d81e65dd101ef543c6350478fefb71e9
parent9c78c4c38e2c1889f2514c3c76ef190b99f2524a
drm/tegra: Disable clock on probe failure

Add a missing clk_disable_unprepare() before returning from the driver's
.probe() function on error.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/gr2d.c