diff options
| author | dinghao.liu@zju.edu.cn <dinghao.liu@zju.edu.cn> | 2020-08-20 14:38:17 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-29 09:03:03 +0100 |
| commit | d22e0f8d72eddb31b50f6cfca0c20f3d68ac48b0 (patch) | |
| tree | 4cfe009ecb33acc94e65075c7a802faee31b6586 /tools/perf/scripts/python/netdev-times.py | |
| parent | 397e425911c433690b7c55411ef8df38f208ab98 (diff) | |
backlight: sky81452-backlight: Fix refcount imbalance on error
[ Upstream commit b7a4f80bc316a56d6ec8750e93e66f42431ed960 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
