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:
cac6f45
)
modify tdsc8800 bug.
author
zwp
<zwp@rock-chips.com>
Tue, 26 Jun 2012 01:05:38 +0000
(09:05 +0800)
committer
zwp
<zwp@rock-chips.com>
Tue, 26 Jun 2012 01:08:00 +0000
(09:08 +0800)
drivers/misc/tdsc8800.c
patch
|
blob
|
history
diff --git
a/drivers/misc/tdsc8800.c
b/drivers/misc/tdsc8800.c
index fed23a14a257254c0992894273942ae3c5c34e9b..6db48f071b767bba138fd630fc47d5c4f1f6c2df 100755
(executable)
--- a/
drivers/misc/tdsc8800.c
+++ b/
drivers/misc/tdsc8800.c
@@
-65,6
+65,7
@@
static int tdsc8800_open(struct inode *inode, struct file *file)
static int tdsc8800_release(struct inode *inode, struct file *file)
{
MODEMDBG("tdsc8800_release\n");
+ modem_poweron_off(0);
return 0;
}
@@
-124,7
+125,7
@@
static int tdsc8800_probe(struct platform_device *pdev)
gpio_direction_output(pdata->bp_power, GPIO_LOW);
- gpio_set_value(pdata->bp_power, pdata->bp_
reset
_active_low? GPIO_LOW:GPIO_HIGH);
+ gpio_set_value(pdata->bp_power, pdata->bp_
power
_active_low? GPIO_LOW:GPIO_HIGH);
result = misc_register(&tdsc8800_misc);
if(result)
{