[media] v4l: omap4iss: resizer: Fix comment regarding bypass mode
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 13 Nov 2013 22:54:32 +0000 (19:54 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 11 Dec 2013 11:05:47 +0000 (09:05 -0200)
The comment explaining the usage of the bypass bit is wrong, fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/omap4iss/iss_resizer.c

index c6225d805d1a2aff7e30138cd45abd9580e7788f..ae831b8985c98f8807e954b11df1d1fb37ba4369 100644 (file)
@@ -190,7 +190,9 @@ static void resizer_configure(struct iss_resizer_device *resizer)
        informat = &resizer->formats[RESIZER_PAD_SINK];
        outformat = &resizer->formats[RESIZER_PAD_SOURCE_MEM];
 
-       /* Make sure we don't bypass the resizer */
+       /* Disable pass-through more. Despite its name, the BYPASS bit controls
+        * pass-through mode, not bypass mode.
+        */
        iss_reg_clr(iss, OMAP4_ISS_MEM_ISP_RESIZER, RSZ_SRC_FMT0,
                    RSZ_SRC_FMT0_BYPASS);