提交 fae16989 编写于 作者: M Masahiro Yamada 提交者: Dmitry Torokhov

Input: tegra-kbc - fix inverted reset logic

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: NMasahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: NThierry Reding <treding@nvidia.com>
Acked-by: NLaxman Dewangan <ldewangan@nvidia.com>
Cc: stable@vger.kernel.org
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 5cab4d84
...@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册