Commit bf3a3cd
drm/tegra: sor: Disable clocks on error in tegra_sor_init()
Fix the missing clk_disable_unprepare() before return from
tegra_sor_init() in the error handling case.
Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>1 parent 123f01a commit bf3a3cd
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3143 | 3143 | | |
3144 | 3144 | | |
3145 | 3145 | | |
| 3146 | + | |
3146 | 3147 | | |
3147 | 3148 | | |
3148 | 3149 | | |
3149 | 3150 | | |
3150 | 3151 | | |
3151 | 3152 | | |
3152 | 3153 | | |
3153 | | - | |
| 3154 | + | |
| 3155 | + | |
3154 | 3156 | | |
| 3157 | + | |
3155 | 3158 | | |
3156 | 3159 | | |
3157 | | - | |
| 3160 | + | |
| 3161 | + | |
| 3162 | + | |
3158 | 3163 | | |
| 3164 | + | |
3159 | 3165 | | |
3160 | 3166 | | |
3161 | 3167 | | |
| |||
0 commit comments