aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/s5p-fimc/fimc-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/s5p-fimc/fimc-core.c b/drivers/media/video/s5p-fimc/fimc-core.c
index 85b47a328a5d..873a879dc770 100644
--- a/drivers/media/video/s5p-fimc/fimc-core.c
+++ b/drivers/media/video/s5p-fimc/fimc-core.c
@@ -841,7 +841,7 @@ struct fimc_fmt *find_format(struct v4l2_format *f, unsigned int mask)
841 841
842 for (i = 0; i < ARRAY_SIZE(fimc_formats); ++i) { 842 for (i = 0; i < ARRAY_SIZE(fimc_formats); ++i) {
843 fmt = &fimc_formats[i]; 843 fmt = &fimc_formats[i];
844 if (fmt->fourcc == f->fmt.pix.pixelformat && 844 if (fmt->fourcc == f->fmt.pix_mp.pixelformat &&
845 (fmt->flags & mask)) 845 (fmt->flags & mask))
846 break; 846 break;
847 } 847 }