diff options
Diffstat (limited to 'drivers/media/platform/imx8/mxc-isi-hw.c')
-rw-r--r-- | drivers/media/platform/imx8/mxc-isi-hw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/platform/imx8/mxc-isi-hw.c b/drivers/media/platform/imx8/mxc-isi-hw.c index 2b46fdae44a4..8e6ca0a927c0 100644 --- a/drivers/media/platform/imx8/mxc-isi-hw.c +++ b/drivers/media/platform/imx8/mxc-isi-hw.c @@ -96,7 +96,8 @@ static bool is_rgb(u32 pix_fmt) static bool is_yuv(u32 pix_fmt) { if ((pix_fmt == V4L2_PIX_FMT_YUYV) || - (pix_fmt == V4L2_PIX_FMT_YUV32)) { + (pix_fmt == V4L2_PIX_FMT_YUV32) || + (pix_fmt == V4L2_PIX_FMT_NV12)) { return true; } else { return false; |