projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5f65ed
)
RK29SmartPhone:SDK board does not have bp_ap_wakeup GPIO, so add judge here before...
author
phc
<phc@rk29>
Tue, 28 Jun 2011 11:33:25 +0000
(19:33 +0800)
committer
phc
<phc@rk29>
Tue, 28 Jun 2011 11:33:25 +0000
(19:33 +0800)
drivers/misc/mtk23d.c
patch
|
blob
|
history
diff --git
a/drivers/misc/mtk23d.c
b/drivers/misc/mtk23d.c
index ddec43d1b0c4dd573a72ac29e97d264a2e90a047..ce7699ea9156704108d3072a01edf2073a9946c9 100755
(executable)
--- a/
drivers/misc/mtk23d.c
+++ b/
drivers/misc/mtk23d.c
@@
-161,7
+161,8
@@
int modem_poweron_off(int on_off)
#endif
gpio_direction_input(pdata->bp_statue);
- gpio_direction_input(pdata->bp_ap_wakeup);
+ if(pdata->bp_ap_wakeup) // SDK°åÖУ¬¸Ã¿ÚûÓÐÒý³ö
+ gpio_direction_input(pdata->bp_ap_wakeup);
/* ³õʼ»¯BP»½ÐÑAPµÄ¹¦ÄÜ */
wakelock_inited = false;