PD#SWPL-49147
Problem:
Bluetooth wakes up device unexpectedly
Solution:
kernel get BT-WAKE,do not send power key
Verify:
local
Signed-off-by: lele.liu <lele.liu@amlogic.com>
Change-Id: I8ccc0a719f8b54537b932c66f29a52c4a956d69b
Signed-off-by: lele.liu <lele.liu@amlogic.com>
}
event = sdio_get_vendor();
BT_INFO("event = %d\n", event);
+/*
if ((event != 625) && get_resume_method() == BT_WAKEUP) {
input_event(pdata->input_dev,
EV_KEY, KEY_POWER, 1);
EV_KEY, KEY_POWER, 0);
input_sync(pdata->input_dev);
}
+*/
return 0;
}