mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
BT: bt remote netflix not resume [1/1]
PD#SWPL-186246 Problem: netflix not resume. Solution: bt_device.c add netflix key report. Verify: loki Change-Id: Iab31674d19ec09b0985e93450e2adb7eaa9972ef Signed-off-by: zuorong hong <zuorong.hong@amlogic.com>
This commit is contained in:
committed by
gongwei.chen
parent
00262b859b
commit
04c4ebb414
@@ -446,6 +446,15 @@ static int bt_resume(struct platform_device *pdev)
|
||||
EV_KEY, KEY_POWER, 0);
|
||||
input_sync(prdata->pdata->input_dev);
|
||||
}
|
||||
if (get_resume_method() == REMOTE_CUS_WAKEUP) {
|
||||
pr_debug("%s:simulate report key\r", __func__);
|
||||
input_event(prdata->pdata->input_dev,
|
||||
EV_KEY, 133, 1);
|
||||
input_sync(prdata->pdata->input_dev);
|
||||
input_event(prdata->pdata->input_dev,
|
||||
EV_KEY, 133, 0);
|
||||
input_sync(prdata->pdata->input_dev);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user