提交 437f8c8a 编写于 作者: L Len Brown

Merge branch 'bugzilla-13865' into release

...@@ -520,11 +520,13 @@ static int hp_wmi_resume_handler(struct platform_device *device) ...@@ -520,11 +520,13 @@ static int hp_wmi_resume_handler(struct platform_device *device)
* the input layer will only actually pass it on if the state * the input layer will only actually pass it on if the state
* changed. * changed.
*/ */
if (hp_wmi_input_dev) {
input_report_switch(hp_wmi_input_dev, SW_DOCK, hp_wmi_dock_state()); input_report_switch(hp_wmi_input_dev, SW_DOCK,
input_report_switch(hp_wmi_input_dev, SW_TABLET_MODE, hp_wmi_dock_state());
hp_wmi_tablet_state()); input_report_switch(hp_wmi_input_dev, SW_TABLET_MODE,
input_sync(hp_wmi_input_dev); hp_wmi_tablet_state());
input_sync(hp_wmi_input_dev);
}
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册