We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bca1703 commit f63f659Copy full SHA for f63f659
drivers/media/platform/exynos-gsc/gsc-m2m.c
@@ -726,14 +726,9 @@ static unsigned int gsc_m2m_poll(struct file *file,
726
static int gsc_m2m_mmap(struct file *file, struct vm_area_struct *vma)
727
{
728
struct gsc_ctx *ctx = fh_to_ctx(file->private_data);
729
- struct gsc_dev *gsc = ctx->gsc_dev;
730
int ret;
731
732
- if (mutex_lock_interruptible(&gsc->lock))
733
- return -ERESTARTSYS;
734
-
735
ret = v4l2_m2m_mmap(file, ctx->m2m_ctx, vma);
736
- mutex_unlock(&gsc->lock);
737
738
return ret;
739
}
0 commit comments