summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authordinghao.liu@zju.edu.cn <dinghao.liu@zju.edu.cn>2020-08-20 14:38:17 +0800
committerLee Jones <lee.jones@linaro.org>2020-08-28 10:25:54 +0100
commitb7a4f80bc316a56d6ec8750e93e66f42431ed960 (patch)
tree3ee5f002f57c33f3b73c2041f9745b72793a61f7 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff)
backlight: sky81452-backlight: Fix refcount imbalance on error
When of_property_read_u32_array() returns an error code, a pairing refcount decrement is needed to keep np's refcount balanced. Fixes: f705806c9f355 ("backlight: Add support Skyworks SKY81452 backlight driver") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions