mbox series

[PATCHv3,0/4] led-backlight cleanups & fixes

Message ID 20200422065114.22164-1-tomi.valkeinen@ti.com (mailing list archive)
Headers show
Series led-backlight cleanups & fixes | expand

Message

Tomi Valkeinen April 22, 2020, 6:51 a.m. UTC
Hi,

Changes in v3:

- "backlight: led_bl: fix led -> backlight brightness mapping": Simplify
  the for loop as suggested by Daniel

Changes in v2:

- Drop "backlight: led_bl: rewrite led_bl_parse_levels()". The patch
  changed the behavior, and the new behavior may not be wanted. So lets
  drop this for now.

- "backlight: led_bl: fix led -> backlight brightness mapping" will now
  use max brightness if LED's brightness is higher than highest
  backlight brightness level.

- Added reviewed-bys.

 Tomi


Tomi Valkeinen (4):
  backlight: led_bl: fix cosmetic issues
  backlight: led_bl: drop useless NULL initialization
  backlight: led_bl: add led_access locking
  backlight: led_bl: fix led -> backlight brightness mapping

 drivers/video/backlight/led_bl.c | 37 +++++++++++++++++---------------
 1 file changed, 20 insertions(+), 17 deletions(-)