[Feature][T108][task-view-312] Solve problem of unstable time of the phy wake-up program
Only Configure: No
Affected branch: GSW_V1453
Affected module: wakeup
Self-test: yes
Doc Update: no
Change-Id: I986373ac3ed2506c95bba6e418626ff2a91fe853
diff --git a/marvell/linux/drivers/input/keyboard/wake_gpio.c b/marvell/linux/drivers/input/keyboard/wake_gpio.c
index 008327b..8651a18 100755
--- a/marvell/linux/drivers/input/keyboard/wake_gpio.c
+++ b/marvell/linux/drivers/input/keyboard/wake_gpio.c
@@ -35,6 +35,7 @@
#include <linux/of_address.h>
#include <linux/of_platform.h>
#include <linux/of_gpio.h>
+#include <linux/edge_wakeup_mmp.h>
//#include <mach/irqs.h>
//#include <uapi/linux/gpio.h>
@@ -352,6 +353,7 @@
if(gpio >= 0)
{
+ request_mfp_edge_wakeup(gpio, NULL, NULL, g_GpioWakeUp.dev);
/*LYNQ_MODFIY_START
ret = gpio_request(gpio, "wakeup-in");
if(ret < 0)