On Thu, Feb 22, 2018 at 08:15:51PM +0000, Jeremy Cline wrote:
> On Thu, Feb 22, 2018 at 01:58:42PM -0600, Mario Limonciello wrote:
> > 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: 30323fb6d5 ("Support tablet mode switch")
> > Reported-by: Jeremy Cline <jer...@jcline.org>
> > Signed-off-by: Mario Limonciello <mario.limoncie...@dell.com>
> > ---
> > Note: I also moved the code for detecting tablet into it's own
> > function. To keep things under 80 lines with if statements was
> > making the code very unreadable otherwise.
> Tested-by: Jeremy Cline <jer...@jcline.org>
Wow, incredible turn around time Mario and Jeremy. Doing some
confirmation on my end, and will queue up to Fixes for 4.16 RC cycle.
VMware Open Source Technology Center