linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] backlight: pwm: fix oops on accessing removed legacy pwm device
@ 2014-10-11 13:46 Vladimir Zapolskiy
  2014-10-11 13:46 ` [PATCH 1/2] backlight: pwm: don't call legacy pwm request for device defined in dt Vladimir Zapolskiy
  2014-10-11 13:46 ` [PATCH 2/2] backlight: pwm: clean up pwm requested using legacy API Vladimir Zapolskiy
  0 siblings, 2 replies; 18+ messages in thread
From: Vladimir Zapolskiy @ 2014-10-11 13:46 UTC (permalink / raw)
  To: linux-fbdev, linux-pwm
  Cc: Thierry Reding, Jingoo Han, Bryan Wu, Lee Jones, stable

The changeset fixes an oops, if pwm device was allocated by calling
legacy API and not deregistered appropriately on removal:

  % dmesg | grep -i pwm
  pwm-backlight backlight.19: unable to request PWM, trying legacy API
  % rmmod pwm_bl
  % cat /sys/kernel/debug/pwm
  Unable to handle kernel paging request at virtual address 7f0c18cc
  pgd = ace18000
  [7f0c18cc] *pgd<5eb811, *pte\0000000, *ppte\0000000
  Internal error: Oops: 7 [#1] PREEMPT SMP ARM
  ......

Vladimir Zapolskiy (2):
  backlight: pwm: don't call legacy pwm request for device defined in dt
  backlight: pwm: clean up pwm requested using legacy API

 drivers/video/backlight/pwm_bl.c |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-06-12 13:19 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-11 13:46 [PATCH 0/2] backlight: pwm: fix oops on accessing removed legacy pwm device Vladimir Zapolskiy
2014-10-11 13:46 ` [PATCH 1/2] backlight: pwm: don't call legacy pwm request for device defined in dt Vladimir Zapolskiy
2014-10-11 14:21   ` Greg KH
2014-11-07 13:48   ` Thierry Reding
2014-11-07 14:19     ` Vladimir Zapolskiy
2014-11-07 14:57       ` Vladimir Zapolskiy
2014-12-01 14:47         ` Vladimir Zapolskiy
2015-01-21 13:18           ` Vladimir Zapolskiy
2015-06-12 11:31   ` Thierry Reding
2015-06-12 12:57     ` Vladimir Zapolskiy
2015-06-12 13:19       ` Thierry Reding
2014-10-11 13:46 ` [PATCH 2/2] backlight: pwm: clean up pwm requested using legacy API Vladimir Zapolskiy
2014-10-11 14:21   ` Greg KH
2014-11-06 22:10     ` Vladimir Zapolskiy
2014-11-06 22:54       ` Greg KH
2014-11-07 11:50         ` Lee Jones
2014-11-07 13:47   ` Thierry Reding
2014-11-10 10:01   ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).