Skip to content

Commit 1783b76

Browse files
elkablolag-linaro
authored andcommitted
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>
1 parent d82e09d commit 1783b76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/platform/cznic/turris-omnia-mcu-base.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ static int omnia_mcu_read_features(struct omnia_mcu *mcu)
258258
_DEF_FEAT(NEW_INT_API, "new interrupt API"),
259259
_DEF_FEAT(POWEROFF_WAKEUP, "poweroff and wakeup"),
260260
_DEF_FEAT(TRNG, "true random number generator"),
261+
_DEF_FEAT(BRIGHTNESS_INT, "LED panel brightness change interrupt"),
261262
#undef _DEF_FEAT
262263
};
263264
struct i2c_client *client = mcu->client;

0 commit comments

Comments
 (0)