platform/x86/intel: hid: Add Surface Go to VGBS allow list
authorDuke Lee <krnhotwings@gmail.com>
Tue, 7 Jun 2022 21:36:54 +0000 (14:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jun 2022 12:21:59 +0000 (14:21 +0200)
commit6a816a0b6cc3ccc9770c4f5571cd99d797e7d15a
treea297c8392bf5883a2daebbf06f8afd42b3b582ad
parent7f3746461832cbc312f4fdd7cee1739e6c504cd5
platform/x86/intel: hid: Add Surface Go to VGBS allow list

[ Upstream commit d4fe9cc4ff8656704b58cfd9363d7c3c9d65e519 ]

The Surface Go reports Chassis Type 9 (Laptop,) so the device needs to be
added to dmi_vgbs_allow_list to enable tablet mode when an attached Type
Cover is folded back.

BugLink: https://github.com/linux-surface/linux-surface/issues/837
Signed-off-by: Duke Lee <krnhotwings@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220607213654.5567-1-krnhotwings@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/intel/hid.c