summaryrefslogtreecommitdiff
path: root/fs/libfs.c
diff options
context:
space:
mode:
authorAren Moynihan <aren@peacevolution.org>2022-12-08 17:02:26 -0500
committerLee Jones <lee@kernel.org>2023-02-22 08:25:51 +0000
commit8781ba7f45695af3ab8e8d1b55a31f527c9201a3 (patch)
treee92398f1abdfc51c3e0b01acb1ace380140f3df5 /fs/libfs.c
parent725a2acd851dbef94a3e68c1a8a1de2862742ecd (diff)
mfd: axp20x: Fix order of pek rise and fall events
The power button can get "stuck" if the rising edge and falling edge irq are read in the same pass. This can often be triggered when resuming from suspend if the power button is released before the kernel handles the interrupt. Swapping the order of the rise and fall events makes sure that the press event is handled first, which prevents this situation. Signed-off-by: Aren Moynihan <aren@peacevolution.org> Reviewed-by: Samuel Holland <samuel@sholland.org> Tested-by: Samuel Holland <samuel@sholland.org> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20221208220225.635414-1-aren@peacevolution.org
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions