Skip to content
Commit 9c78c4c3 authored by Wei Yongjun's avatar Wei Yongjun Committed by Thierry Reding
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: default avatarTerje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent db7fbdfd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment