summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2021-10-17 07:27:59 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-10-17 07:31:07 +0300
commit9e5afc84ff94815ad10853420dcecdf33e9226f8 (patch)
treefc8ae10a577356975fb55ea34e15cc90dcbf83ce /scripts
parentd46b3f5bc0fc265b7ef013e76d7d43f85e4b1e7c (diff)
downloadlinux-9e5afc84ff94815ad10853420dcecdf33e9226f8.tar.xz
Input: pm8941-pwrkey - respect reboot_mode for warm reset
On some devices, e.g. Sony Xperia M4 Aqua, warm reset is used to reboot device into bootloader and recovery mode. Instead of always doing hard reset, add a check on reboot_mode for possible warm reset. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Tested-by: Luca Weiss <luca@z3ntu.xyz> Link: https://lore.kernel.org/r/20210714095850.27185-3-shawn.guo@linaro.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions