Re: [PATCH v8 4/4] leds: aw2013: Add AW2027 support
From: Paul Sajna
Date: Thu Dec 03 2026 - 14:14:47 EST
On 12/2/26 9:50 AM, Lee Jones wrote:
Why is this being written unconditionally when 'chip->enabled' is false?
Since aw2013_probe() just reset the chip and leaves it disabled, won't
the first aw2013_chip_enable() call (for instance when a default trigger
activates during devm_led_classdev_register_ext()) reset the chip again
and overwrite this register via aw2013_chip_init() anyway?
I'll put the if-statement back in the next rev, and make sure all is good. Thanks.
--
Hal: They're going for the kernel!
Margo: Colonel Who?