]> git.baikalelectronics.ru Git - kernel.git/commit
Input: omap4-keypad - use PM runtime autosuspend
authorTony Lindgren <tony@atomide.com>
Mon, 11 Jan 2021 06:16:51 +0000 (22:16 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 11 Jan 2021 06:23:04 +0000 (22:23 -0800)
commit21bf03d7295f317195b41c09da3cd0f26a468e33
treeaeefac004051e087053d0d764ef502050e2644fc
parentef60a2602674f2e5ba1a8d995f02f375fb942421
Input: omap4-keypad - use PM runtime autosuspend

Implement PM runtime autosuspend support to prepare for adding handling to
clear stuck last pressed key in the following patches. The hardware has
support for autoidle and can wake up to keypress events.

Let's also update omap4_keypad_probe() to use dev instead of &pdev->dev
since we already have it from the earlier changes.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/X/vqCs5/EDURprAJ@atomide.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/omap4-keypad.c