Commit 33874cb8 authored by Jesper Nilsson's avatar Jesper Nilsson

CRISv10: Fix return before mutex_unlock in pcf8563

Signed-off-by: default avatarSimone Contini <s.contini@oltrelinux.com>
Signed-off-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
parent 7673538c
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment