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)
commitc324345ce89c3cc50226372960619c7ee940f616
treecae2bf8cc49f5396b897c0b94dc47dfea29a5cca
parent363c53875aef8fce69d4a2d0873919ccc7d9e2ad
Revert "Input: elantech - enable SMBus on new (2018+) systems"

This reverts commit 883a2a80f79ca5c0c105605fafabd1f3df99b34c.

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