diff options
author | Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> | 2014-10-11 16:46:26 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-11-10 14:42:18 +0000 |
commit | edf387b6d1a6993103ec95ed934a6daf559535f4 (patch) | |
tree | 2510d4c001381b7eefcdcdd0a2bf16b77c00f579 /drivers/vme | |
parent | 0df1f2487d2f0d04703f142813d53615d62a1da4 (diff) |
backlight: pwm: Clean-up pwm requested using legacy API
If PWM device is requested by means of legacy API pwm_request(), its
resources are not freed on module unbind, which may cause an oops on
access, e.g. by reading /sys/kernel/debug/pwm.
Reported-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions