Commit 1783b766 authored by Marek Behún's avatar Marek Behún Committed by Lee Jones
Browse files

platform: cznic: turris-omnia-mcu: Inform about missing LED panel brightness...


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: default avatarMarek Behún <kabel@kernel.org>
Link: https://lore.kernel.org/r/20241111100355.6978-9-kabel@kernel.org


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent d82e09d6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;