b/drivers/media/platform/s3c-camif/camif-capture.c
@@ -599,8 +599,7 @@ static int s3c_camif_close(struct file *file)
pr_debug("[vp%d] state: %#x, owner: %p, pid: %d\n", vp->id,
vp->state, vp->owner, task_pid_nr(current));
- if (mutex_lock_interruptible(&camif->lock))
- return -ERESTARTSYS;
+ mutex_lock(&camif->lock);
if (vp->owner == file->private_data) {
camif_stop_capture(vp);
@@ -624,9 +623,7 @@ static unsigned int s3c_camif_poll(struct file *file,
struct camif_dev *camif = vp->camif;
int ret;
- if (mutex_lock_interruptible(&camif->lock))
- return -ERESTARTSYS;
-
+ mutex_lock(&camif->lock);
if (vp->owner && vp->owner != file->private_data)
ret = -EBUSY;
else