]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
gpu: host1x: Disable clock on probe failure
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 21 Oct 2013 05:37:31 +0000 (13:37 +0800)
committerThierry Reding <treding@nvidia.com>
Thu, 31 Oct 2013 08:55:46 +0000 (09:55 +0100)
commit9c78c4c38e2c1889f2514c3c76ef190b99f2524a
tree6ec44f59af1b6c45c32bde6aea77d8f4b4c9e7b3
parentdb7fbdfd25ee009165b6c3b80a9d1c6d8534ad94
gpu: host1x: 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/host1x/dev.c