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:
d6005c0
)
mod mma7660.c
author
kfx
<kfx@rock-chips.com>
Thu, 19 Aug 2010 01:00:05 +0000
(09:00 +0800)
committer
kfx
<kfx@rock-chips.com>
Thu, 19 Aug 2010 01:00:05 +0000
(09:00 +0800)
drivers/input/gsensor/mma7660.c
patch
|
blob
|
history
diff --git
a/drivers/input/gsensor/mma7660.c
b/drivers/input/gsensor/mma7660.c
index bae4fb8a8e4a2f688d45c9261dfad8083ade1fc7..23cc299d912bf5877f1723238d12380dc049f28d 100644
(file)
--- a/
drivers/input/gsensor/mma7660.c
+++ b/
drivers/input/gsensor/mma7660.c
@@
-154,7
+154,7
@@
static int mma7660_start_dev(char rate)
ret = mma7660_tx_data(&buffer[0], 2);
ret = mma7660_rx_data(&buffer[0], 1);
- enable_irq(
56
);
+ enable_irq(
this_client->irq
);
rk28printk("\n----------------------------mma7660_start------------------------\n");
return ret;