Il 01/08/25 15:16, Julien Massot ha scritto:
A recent commit in linux-next added support for key events.
However, the key release event is not properly handled: only key press events
are generated, leaving key states stuck in "pressed".
This patch ensures that both key press and key release events are properly
emitted by handling the release logic correctly.
Note: the code was introduced in linux-next by commit
bc25e6bf032e ("Input: mtk-pmic-keys - add support for MT6359 PMIC keys")
and is not yet present in mainline.
Signed-off-by: Julien Massot <julien.massot@collabora.com>
Well, you are effectively fixing the commit that you pointed out, so this needs
Fixes: bc25e6bf032e ("Input: mtk-pmic-keys - add support for MT6359 PMIC keys")
and
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Cheers,
Angelo