Skip to content
Commit de9647ef authored by Mario Limonciello's avatar Mario Limonciello Committed by Darren Hart (VMware)
Browse files

platform/x86: intel-vbtn: Only activate tablet mode switch on 2-in-1's



Some laptops such as the XPS 9360 support the intel-vbtn INT33D6
interface but don't initialize the bit that intel-vbtn uses to
represent switching tablet mode.

By running this only on real 2-in-1's it shouldn't cause false
positives.

Fixes: 30323fb6 ("Support tablet mode switch")
Reported-by: default avatarJeremy Cline <jeremy@jcline.org>
Signed-off-by: default avatarMario Limonciello <mario.limonciello@dell.com>
Tested-by: default avatarJeremy Cline <jeremy@jcline.org>
Tested-by: default avatarDarren Hart (VMware) <dvhart@infradead.org>
Signed-off-by: default avatarDarren Hart (VMware) <dvhart@infradead.org>
parent 91ab883e
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