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
(from parent 1:
d32f5db
)
newton: remove redefined of bu92747_lock && bu92747_unlock function
author
lyx
<lyx@rock-chips.com>
Mon, 29 Aug 2011 09:50:38 +0000
(
02:50
-0700)
committer
lyx
<lyx@rock-chips.com>
Tue, 30 Aug 2011 03:00:11 +0000
(20:00 -0700)
drivers/cir/bu92747guw_cir.c
patch
|
blob
|
history
diff --git
a/drivers/cir/bu92747guw_cir.c
b/drivers/cir/bu92747guw_cir.c
index a4022801a2d09b79992d51720711bf58c3987a5b..6963654aedeab579bc54e475d6d011f5cb398edf 100755
(executable)
--- a/
drivers/cir/bu92747guw_cir.c
+++ b/
drivers/cir/bu92747guw_cir.c
@@
-58,20
+58,6
@@
static struct miscdevice bu92747guw_device;
int repeat_flag=-1;
int start_flag = 0;
-//mutex lock between remote and irda
-static DEFINE_MUTEX(bu92747_mutex);
-void bu92747_lock(void)
-{
- mutex_lock(&bu92747_mutex);
-}
-void bu92747_unlock(void)
-{
- mutex_unlock(&bu92747_mutex);
-}
-
-
-
-
static int bu92747_cir_i2c_read_regs(struct i2c_client *client, u8 reg, u8 *buf, int len)
{