summaryrefslogtreecommitdiffstats
path: root/drivers/firewire/ohci.h
diff options
context:
space:
mode:
authorMathew King <mathewk@chromium.org>2019-05-20 16:41:24 -0600
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-06-12 11:49:20 +0300
commitcb1921b17adbe6509538098ac431033378cd7165 (patch)
tree2e204359378965e22c8b0b5ddd73266ca138d79a /drivers/firewire/ohci.h
parent401fee8195d401b2b94dee57383f627050724d5b (diff)
downloadlinux-cb1921b17adbe6509538098ac431033378cd7165.tar.bz2
platform/x86: intel-vbtn: Report switch events when event wakes device
When a switch event, such as tablet mode/laptop mode or docked/undocked, wakes a device make sure that the value of the swich is reported. Without when a device is put in tablet mode from laptop mode when it is suspended or vice versa the device will wake up but mode will be incorrect. Tested by suspending a device in laptop mode and putting it in tablet mode, the device resumes and is in tablet mode. When suspending the device in tablet mode and putting it in laptop mode the device resumes and is in laptop mode. Signed-off-by: Mathew King <mathewk@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Mario Limonciello <mario.limonciello@dell.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/firewire/ohci.h')
0 files changed, 0 insertions, 0 deletions