projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7673538
)
CRISv10: Fix return before mutex_unlock in pcf8563
author
Jesper Nilsson
<jespern@axis.com>
Mon, 21 Mar 2011 10:52:41 +0000
(11:52 +0100)
committer
Jesper Nilsson
<jespern@axis.com>
Mon, 21 Mar 2011 10:52:41 +0000
(11:52 +0100)
Signed-off-by: Simone Contini <s.contini@oltrelinux.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/arch-v10/drivers/pcf8563.c
patch
|
blob
|
history
diff --git
a/arch/cris/arch-v10/drivers/pcf8563.c
b/arch/cris/arch-v10/drivers/pcf8563.c
index
ea69fab
..
1391b73
100644
(file)
--- a/
arch/cris/arch-v10/drivers/pcf8563.c
+++ b/
arch/cris/arch-v10/drivers/pcf8563.c
@@
-345,7
+345,7
@@
static long pcf8563_unlocked_ioctl(struct file *filp, unsigned int cmd, unsigned
int ret;
mutex_lock(&pcf8563_mutex);
- ret
urn
pcf8563_ioctl(filp, cmd, arg);
+ ret
=
pcf8563_ioctl(filp, cmd, arg);
mutex_unlock(&pcf8563_mutex);
return ret;