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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user