diff options
author | Laurent Pinchart | 2013-11-13 19:54:32 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab | 2013-12-11 09:05:47 -0200 |
commit | bea7791529375230261c24a2c249e58b7111e885 (patch) | |
tree | 086a9f7fe4fdb918834f02d5ea87deae3d03432a | |
parent | 112da08512bb0c58c169ec8bda0166f627250a2c (diff) |
[media] v4l: omap4iss: resizer: Fix comment regarding bypass mode
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>
-rw-r--r-- | drivers/staging/media/omap4iss/iss_resizer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/media/omap4iss/iss_resizer.c b/drivers/staging/media/omap4iss/iss_resizer.c index c6225d805d1a..ae831b8985c9 100644 --- a/drivers/staging/media/omap4iss/iss_resizer.c +++ b/drivers/staging/media/omap4iss/iss_resizer.c @@ -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); |