]> git.baikalelectronics.ru Git - kernel.git/commit
surfacepro3_button: Add a warning when switching to tablet mode
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 May 2016 11:49:55 +0000 (14:49 +0300)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 27 May 2016 18:47:53 +0000 (11:47 -0700)
commit75c7c3721ba1ec068d183e9c408f53fd213491d0
treef7a33509a1dd5b8659500b06a6fb723d7540e375
parent856712b87d7a2ecec05840c7ed866cc630d7ab93
surfacepro3_button: Add a warning when switching to tablet mode

Microsoft Surface Book has a tablet mode button. Print another message
once on this event instead of repeating "Unknown event...".

Unfortunately, proper support involves the _DSM method, which is not a
discoverable interface. Just print a warning for now.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/surfacepro3_button.c