|
@@ -345,7 +345,7 @@ static long pcf8563_unlocked_ioctl(struct file *filp, unsigned int cmd, unsigned
|
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|
|
|
mutex_lock(&pcf8563_mutex);
|
|
mutex_lock(&pcf8563_mutex);
|
|
|
- return pcf8563_ioctl(filp, cmd, arg);
|
|
|
|
|
|
|
+ ret = pcf8563_ioctl(filp, cmd, arg);
|
|
|
mutex_unlock(&pcf8563_mutex);
|
|
mutex_unlock(&pcf8563_mutex);
|
|
|
|
|
|
|
|
return ret;
|
|
return ret;
|