Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 60d613d6 authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Lee Jones
Browse files

backlight: pwm_bl: Free PWM requested by legacy API on error path



If pwm is requested by legacy pwm_request() and if the following
backlight_device_register() call fails, add pwm_free() clean-up.

Signed-off-by: default avatarVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 02f22c00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment