projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
It looks at least odd to apply spin_unlock to a mutex.
[firefly-linux-kernel-4.4.55.git]
/
arch
/
cris
/
arch-v10
/
drivers
/
pcf8563.c
diff --git
a/arch/cris/arch-v10/drivers/pcf8563.c
b/arch/cris/arch-v10/drivers/pcf8563.c
index 52103d16dc6c0e2b185a8700f8d4263a7683d122..8769dc914073804ce0c75240e0aa6b60fc7c602a 100644
(file)
--- a/
arch/cris/arch-v10/drivers/pcf8563.c
+++ b/
arch/cris/arch-v10/drivers/pcf8563.c
@@
-233,7
+233,7
@@
int pcf8563_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
if (copy_to_user((struct rtc_time *) arg, &tm,
sizeof tm)) {
-
spin
_unlock(&rtc_lock);
+
mutex
_unlock(&rtc_lock);
return -EFAULT;
}