[media] v4l2-ioctl: fix YUV422P pixel format description
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 4 Mar 2016 16:03:00 +0000 (13:03 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 5 Mar 2016 11:21:32 +0000 (08:21 -0300)
The plane order is YUV, not YVU.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-ioctl.c

index 86c4c19b5d7bc910adf80100f20e74d0c1e734cc..170dd68d27f40176758950f4a999b811e231d914 100644 (file)
@@ -1172,7 +1172,7 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt)
        case V4L2_PIX_FMT_YVYU:         descr = "YVYU 4:2:2"; break;
        case V4L2_PIX_FMT_UYVY:         descr = "UYVY 4:2:2"; break;
        case V4L2_PIX_FMT_VYUY:         descr = "VYUY 4:2:2"; break;
-       case V4L2_PIX_FMT_YUV422P:      descr = "Planar YVU 4:2:2"; break;
+       case V4L2_PIX_FMT_YUV422P:      descr = "Planar YUV 4:2:2"; break;
        case V4L2_PIX_FMT_YUV411P:      descr = "Planar YUV 4:1:1"; break;
        case V4L2_PIX_FMT_Y41P:         descr = "YUV 4:1:1 (Packed)"; break;
        case V4L2_PIX_FMT_YUV444:       descr = "16-bit A/XYUV 4-4-4-4"; break;