]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "Input: elantech - enable SMBus on new (2018+) systems"
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Wed, 16 Oct 2019 00:37:37 +0000 (17:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 16 Oct 2019 00:42:47 +0000 (17:42 -0700)
commit7dedf8a91046b68c93fde6b297705829e54f9603
treecae2bf8cc49f5396b897c0b94dc47dfea29a5cca
parent5a5af378fc448eaba5cce9025d8b24136aa686ff
Revert "Input: elantech - enable SMBus on new (2018+) systems"

This reverts commit 0eb106b1d3f6d7b4133b9ed853e0d0a12aba8f85.

Apparently use dmi_get_bios_year() as manufacturing date isn't accurate
and this breaks older laptops with new BIOS update.

So let's revert this patch.

There are still new HP laptops still need to use SMBus to support all
features, but it'll be enabled via a whitelist.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20191001070845.9720-1-kai.heng.feng@canonical.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elantech.c