diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-10-26 09:10:43 -1000 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-10-26 09:10:43 -1000 |
| commit | d135ab453a7400a34930bdda1ef4bdc8acfac80e (patch) | |
| tree | 8b85af32b68130f97d342b09505aae1c881e6745 /drivers | |
| parent | 5b93dc1c0c61fd0fe575cb473e9e25f929fda509 (diff) | |
| parent | eacfbe6f9716d00536edc229a58895405e73c2e4 (diff) | |
Merge tag 'backlight-next-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlightHEADmaster
Pull backlight updates from Lee Jones:
"Improvements & Fixes:
- Qualcomm WLED: Fix a NULL pointer dereference in `wled_remove()` by
setting platform driver data in `wled_probe()`
- Qualcomm WLED: Fix the WLED3 brightness register stride to prevent
consecutive string writes from overlapping
- Qualcomm WLED: Read back the hardware-programmed brightness at
probe, expose it via
`get_brightness()`, and prevent unbalanced OVP IRQ enabling
- TI LM3630A: Cancel delayed work synchronously after freeing the IRQ
and before destroying the workqueue in `lm3630a_remove()`
Cleanups & Refactoring:
- Ilitek ILI9320 / Kinetic KTD253: Fix spelling typos in comments"
* tag 'backlight-next-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight:
backlight: qcom-wled: Read back the programmed brightness at probe
backlight: qcom-wled: Fix unbalanced OVP IRQ enable at probe
backlight: qcom-wled: Fix WLED3 brightness register stride
backlight: qcom-wled: Fix NULL pointer dereference in wled_remove()
backlight: lm3630a: Cancel delayed work before destroying workqueue
backlight: ili9320/ktd253: Fix typos in comments
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/video/backlight/ili9320.c | 2 | ||||
| -rw-r--r-- | drivers/video/backlight/ktd253-backlight.c | 2 | ||||
| -rw-r--r-- | drivers/video/backlight/lm3630a_bl.c | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/backlight/ili9320.c b/drivers/video/backlight/ili9320.c index 2df96a882119..d2f094dd7fc3 100644 --- a/drivers/video/backlight/ili9320.c +++ b/drivers/video/backlight/ili9320.c @@ -30,7 +30,7 @@ static inline int ili9320_write_spi(struct ili9320 *ili, unsigned char *addr = spi->buffer_addr; unsigned char *data = spi->buffer_data; - /* spi message consits of: + /* spi message consists of: * first byte: ID and operation */ diff --git a/drivers/video/backlight/ktd253-backlight.c b/drivers/video/backlight/ktd253-backlight.c index 327b4ee75254..f2c5527d02e0 100644 --- a/drivers/video/backlight/ktd253-backlight.c +++ b/drivers/video/backlight/ktd253-backlight.c @@ -53,7 +53,7 @@ static int ktd253_backlight_stepdown(struct ktd253_backlight *ktd253) * * Architectures do not always support ndelay() and we will get a few us * instead. If we get to a critical time limit an interrupt has likely - * occured in the low part of the loop and we need to restart from the + * occurred in the low part of the loop and we need to restart from the * top so we have the backlight in a known state. */ u64 ns; diff --git a/drivers/video/backlight/lm3630a_bl.c b/drivers/video/backlight/lm3630a_bl.c index 8f49e59ce374..8ef8163c7fef 100644 --- a/drivers/video/backlight/lm3630a_bl.c +++ b/drivers/video/backlight/lm3630a_bl.c @@ -591,6 +591,7 @@ static void lm3630a_remove(struct i2c_client *client) if (pchip->irq) { free_irq(pchip->irq, pchip); + cancel_delayed_work_sync(&pchip->work); destroy_workqueue(pchip->irqthread); } } |
