diff options
author | Marek BehĂșn <kabel@kernel.org> | 2024-11-11 13:03:52 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-12-12 21:37:36 +0300 |
commit | 1783b766940f37aeaf7c841f777be8cf68326908 (patch) | |
tree | 4c2b15a3dea2357ce217d5e57c591ce28a7df89b | |
parent | d82e09d62b3bdbfa9dac2daf3c3c071b6a79d2aa (diff) | |
download | linux-1783b766940f37aeaf7c841f777be8cf68326908.tar.xz |
platform: cznic: turris-omnia-mcu: Inform about missing LED panel brightness change interrupt feature
When reading MCU firmware features, check also for the LED panel
brightness change interrupt feature, and suggest upgrading the firmware
if it is missing.
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Link: https://lore.kernel.org/r/20241111100355.6978-9-kabel@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
-rw-r--r-- | drivers/platform/cznic/turris-omnia-mcu-base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/cznic/turris-omnia-mcu-base.c b/drivers/platform/cznic/turris-omnia-mcu-base.c index bb871226e357..3bb4a3cfdb29 100644 --- a/drivers/platform/cznic/turris-omnia-mcu-base.c +++ b/drivers/platform/cznic/turris-omnia-mcu-base.c @@ -258,6 +258,7 @@ static int omnia_mcu_read_features(struct omnia_mcu *mcu) _DEF_FEAT(NEW_INT_API, "new interrupt API"), _DEF_FEAT(POWEROFF_WAKEUP, "poweroff and wakeup"), _DEF_FEAT(TRNG, "true random number generator"), + _DEF_FEAT(BRIGHTNESS_INT, "LED panel brightness change interrupt"), #undef _DEF_FEAT }; struct i2c_client *client = mcu->client; |