Skip to content

backlight: fix device-tree node lookups

Johan Hovold dri-devel linux-fbdev lkml stable 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 11 repliesApplied
  2. v11 patch 0 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4backlight: as3711_bl: fix device-tree node lookupdrivers/video/backlight/as3711_bl.c+23 -102 replies
2/4backlight: max8925_bl: fix device-tree node lookupdrivers/video/backlight/max8925_bl.c+3 -12 replies
3/4backlight: tps65217_bl: fix device-tree node lookupdrivers/video/backlight/tps65217_bl.c+2 -23 replies
4/4backlight: as3711_bl: fix device-tree node leaksdrivers/video/backlight/as3711_bl.c include/linux/mfd/as3711.h+8 -82 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDaniel Thompson
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] backlight: fix device-tree node lookups

A number of drivers have been using the wrong OF helper when doing child-node lookups during probe. This meant that they were doing tree-wide searches rather than matching on child nodes and that the parent node could end up being prematurely freed.

Johan

v2
- add patch 4/4 which fixes two node leaks in as3711_bl instead of marking the leaks using FIXMEs in patch 1/4

Johan Hovold (4):
backlight: as3711_bl: fix device-tree node lookup
backlight: max8925_bl: fix device-tree node lookup
backlight: tps65217_bl: fix device-tree node lookup
backlight: as3711_bl: fix device-tree node leaks

 drivers/video/backlight/as3711_bl.c   | 45 ++++++++++++++++++++++-------------
 drivers/video/backlight/max8925_bl.c  |  4 +++-
 drivers/video/backlight/tps65217_bl.c |  4 ++--
 include/linux/mfd/as3711.h            |  4 ++--
 4 files changed, 36 insertions(+), 21 deletions(-)
Signature · 1 line
2.15.0