Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: tegra-kbc - fix inverted reset logic

Commit fe6b0dfaba68 ("Input: tegra-kbc - use reset framework")
accidentally converted _deassert to _assert, so there is no code
to wake up this hardware.

Fixes: fe6b0dfaba68 ("Input: tegra-kbc - use reset framework")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Masahiro Yamada and committed by
Dmitry Torokhov
fae16989 5cab4d84

+1 -1
+1 -1
drivers/input/keyboard/tegra-kbc.c
··· 376 376 /* Reset the KBC controller to clear all previous status.*/ 377 377 reset_control_assert(kbc->rst); 378 378 udelay(100); 379 - reset_control_assert(kbc->rst); 379 + reset_control_deassert(kbc->rst); 380 380 udelay(100); 381 381 382 382 tegra_kbc_config_pins(kbc);