media: ti-vpe: cal: fix typo in a comment
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Mon, 14 Jun 2021 11:23:33 +0000 (13:23 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 12 Jul 2021 11:40:45 +0000 (13:40 +0200)
Fix a typo in a comment in cal_camerarx_sd_set_fmt().

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/ti-vpe/cal-camerarx.c

index f2ea2bd..7940e47 100644 (file)
@@ -698,7 +698,7 @@ static int cal_camerarx_sd_set_fmt(struct v4l2_subdev *sd,
                return cal_camerarx_sd_get_fmt(sd, sd_state, format);
 
        /*
-        * Default to the first format is the requested media bus code isn't
+        * Default to the first format if the requested media bus code isn't
         * supported.
         */
        fmtinfo = cal_format_by_code(format->format.code);