Re: [PATCH v3 3/3] backlight: aw99706: Honor the core blank state in update_status()

From: Daniel Thompson

Date: Mon Aug 10 2026 - 06:32:59 EST


On Tue, Aug 04, 2026 at 11:02:55AM +0800, Junjie Cao wrote:
> From: Junjie Cao <junjie.cao@xxxxxxxxx>
>
> update_status() passes props.brightness straight to the hardware and
> ignores the power/blank state tracked by the core. Writing 4 to the
> bl_power sysfs attribute or blanking the framebuffer therefore leaves
> the backlight lit.
>
> Use backlight_get_brightness(), which returns 0 while the device is
> blanked.
>
> Fixes: 147b38a5ad06 ("backlight: aw99706: Add support for Awinic AW99706 backlight")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Junjie Cao <junjie.cao@xxxxxxxxx>

Reviewed-by: Daniel Thompson (RISCstar) <danielt@xxxxxxxxxx>


Daniel.