mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-27 22:51:31 +00:00
arm64: tegra: Redefine force recovery key on Jetson AGX Xavier
The current BTN_1 code associated with the force-recovery key is not a valid code for EV_KEY type input devices. This causes errors in the libinput debug-events command. There is no system level action that maps to the force-recovery key on Jetson AGX Xavier, so assign it the KEY_SLEEP action, which at least makes it do something marginally useful. Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
1f32a31fe2
commit
cd8f843c6c
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ force-recovery {
|
|||
gpios = <&gpio TEGRA194_MAIN_GPIO(G, 0)
|
||||
GPIO_ACTIVE_LOW>;
|
||||
linux,input-type = <EV_KEY>;
|
||||
linux,code = <BTN_1>;
|
||||
linux,code = <KEY_SLEEP>;
|
||||
debounce-interval = <10>;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue