{\r
int result = 0;\r
\r
- if(bp->suspend_status)\r
- {\r
- printk("<-----c66a bp_wake_ap-------->\n");\r
- bp->suspend_status = 0; \r
- wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
- }\r
+ printk("<-----c66a bp_wake_ap-------->\n");\r
+ bp->suspend_status = 0; \r
+ wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
\r
return result;\r
}\r
{\r
int result = 0;\r
\r
- if(bp->suspend_status)\r
- {\r
- bp->suspend_status = 0; \r
- wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
- }\r
+ bp->suspend_status = 0; \r
+ wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
\r
return result;\r
}\r
{\r
int result = 0;\r
\r
- if(bp->suspend_status)\r
- {\r
- bp->suspend_status = 0;\r
- wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
- }\r
+ bp->suspend_status = 0;\r
+ wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
\r
return result;\r
}\r
{\r
int result = 0;\r
\r
- if(bp->suspend_status)\r
- {\r
- bp->suspend_status = 0;\r
- wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
- }\r
+ bp->suspend_status = 0;\r
+ wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
\r
return result;\r
}\r
{\r
int result = 0;\r
\r
- if(bp->suspend_status)\r
- {\r
- bp->suspend_status = 0; \r
- wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
- }\r
+ bp->suspend_status = 0; \r
+ wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
\r
return result;\r
}\r
{\r
int result = 0;\r
\r
- if(bp->suspend_status)\r
- {\r
- bp->suspend_status = 0;\r
- wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
- }\r
+ bp->suspend_status = 0;\r
+ wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
\r
return result;\r
}\r
{\r
int result = 0;\r
\r
- if(bp->suspend_status)\r
- {\r
- bp->suspend_status = 0; \r
- wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
- }\r
+ bp->suspend_status = 0;\r
+ wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
\r
return result;\r
}\r
}\r
static int bp_resume(struct bp_private_data *bp)\r
{\r
- \r
+\r
bp->suspend_status = 0; \r
gpio_set_value(bp->ops->ap_wakeup_bp, GPIO_HIGH); \r
\r
{\r
int result = 0;\r
\r
- if(bp->suspend_status)\r
- {\r
printk("<-----sc6610 bp_wake_ap-------->\n");\r
bp->suspend_status = 0; \r
wake_lock_timeout(&bp->bp_wakelock, 10 * HZ);\r
- }\r
\r
return result;\r
}\r