Commit f85090ff authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Sasha Levin

Input: tegra-kbc - fix inverted reset logic

[ Upstream commit fae16989 ]

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

Fixes: fe6b0dfa ("Input: tegra-kbc - use reset framework")
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Acked-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
parent bdd62ec6
...@@ -376,7 +376,7 @@ static int tegra_kbc_start(struct tegra_kbc *kbc) ...@@ -376,7 +376,7 @@ static int tegra_kbc_start(struct tegra_kbc *kbc)
/* Reset the KBC controller to clear all previous status.*/ /* Reset the KBC controller to clear all previous status.*/
reset_control_assert(kbc->rst); reset_control_assert(kbc->rst);
udelay(100); udelay(100);
reset_control_assert(kbc->rst); reset_control_deassert(kbc->rst);
udelay(100); udelay(100);
tegra_kbc_config_pins(kbc); tegra_kbc_config_pins(kbc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment