summaryrefslogtreecommitdiff
path: root/drivers/media/platform/vimc/vimc-debayer.c
diff options
context:
space:
mode:
authorAndré Almeida <andrealmeid@collabora.com>2019-06-13 18:06:13 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-22 00:06:59 +0300
commit9aa36e61dc6bf11d8ff46d6f177fb2e3a8fc5e91 (patch)
tree17c484c7b34e56cf4553f2d7027e6efc9302d9ac /drivers/media/platform/vimc/vimc-debayer.c
parent40208924b988888f786850fae42fb5ca880fab80 (diff)
downloadlinux-9aa36e61dc6bf11d8ff46d6f177fb2e3a8fc5e91.tar.xz
media: vimc: debayer: Fix typos
Fix typo on "tranforming". Add a line break so it keeps under 80 columns. Fix typo on "[it] need". Signed-off-by: André Almeida <andrealmeid@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-debayer.c')
-rw-r--r--drivers/media/platform/vimc/vimc-debayer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/platform/vimc/vimc-debayer.c b/drivers/media/platform/vimc/vimc-debayer.c
index 310c0d0eefa2..00598fbf3cba 100644
--- a/drivers/media/platform/vimc/vimc-debayer.c
+++ b/drivers/media/platform/vimc/vimc-debayer.c
@@ -16,14 +16,16 @@
#include "vimc-common.h"
#define VIMC_DEB_DRV_NAME "vimc-debayer"
-/* This module only supports tranforming a bayer format to V4L2_PIX_FMT_RGB24 */
+/* This module only supports transforming a bayer format
+ * to V4L2_PIX_FMT_RGB24
+ */
#define VIMC_DEB_SRC_PIXFMT V4L2_PIX_FMT_RGB24
#define VIMC_DEB_SRC_MBUS_FMT_DEFAULT MEDIA_BUS_FMT_RGB888_1X24
static unsigned int deb_mean_win_size = 3;
module_param(deb_mean_win_size, uint, 0000);
MODULE_PARM_DESC(deb_mean_win_size, " the window size to calculate the mean.\n"
- "NOTE: the window size need to be an odd number, as the main pixel "
+ "NOTE: the window size needs to be an odd number, as the main pixel "
"stays in the center of the window, otherwise the next odd number "
"is considered");