]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: bbnsm_pwrkey - add remove hook
authorPeng Fan <peng.fan@nxp.com>
Thu, 12 Dec 2024 03:03:22 +0000 (11:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Feb 2025 09:05:13 +0000 (10:05 +0100)
commitc866c00560935405e6ff927d285202e42c5962d9
tree706d42f1d360310693e3bb7eddd3025c544e2c1d
parent5b91440ebef9c4fd1cb34372f71e9695faad3350
Input: bbnsm_pwrkey - add remove hook

commit 55b75306c3edf369285ce22ba1ced45e335094c2 upstream.

Without remove hook to clear wake irq, there will be kernel dump when
doing module test.
"bbnsm_pwrkey 44440000.bbnsm:pwrkey: wake irq already initialized"

Add remove hook to clear wake irq and set wakeup to false.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Fixes: 40e40fdfec3f ("Input: bbnsm_pwrkey - add bbnsm power key support")
Link: https://lore.kernel.org/r/20241212030322.3110017-1-peng.fan@oss.nxp.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/misc/nxp-bbnsm-pwrkey.c