]> Git Repo - linux.git/commitdiff
CRISv10: Fix return before mutex_unlock in pcf8563
authorJesper Nilsson <[email protected]>
Mon, 21 Mar 2011 10:52:41 +0000 (11:52 +0100)
committerJesper Nilsson <[email protected]>
Mon, 21 Mar 2011 10:52:41 +0000 (11:52 +0100)
Signed-off-by: Simone Contini <[email protected]>
Signed-off-by: Jesper Nilsson <[email protected]>
arch/cris/arch-v10/drivers/pcf8563.c

index ea69faba9b6212f00a731652e96966ed1116186c..1391b731ad1c5579b5317098bfc0c381270f34bb 100644 (file)
@@ -345,7 +345,7 @@ static long pcf8563_unlocked_ioctl(struct file *filp, unsigned int cmd, unsigned
        int ret;
 
        mutex_lock(&pcf8563_mutex);
-       return pcf8563_ioctl(filp, cmd, arg);
+       ret = pcf8563_ioctl(filp, cmd, arg);
        mutex_unlock(&pcf8563_mutex);
 
        return ret;
This page took 0.0854 seconds and 4 git commands to generate.