Commit 2f8ee0dd authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: staging: fix several typos

Use codespell to fix lots of typos over frontends.

Manually verified to avoid false-positives.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent e907bf3c
...@@ -781,7 +781,7 @@ ipipe_set_3d_lut_regs(void __iomem *base_addr, void __iomem *isp5_base_addr, ...@@ -781,7 +781,7 @@ ipipe_set_3d_lut_regs(void __iomem *base_addr, void __iomem *isp5_base_addr,
if (!lut_3d->en) if (!lut_3d->en)
return; return;
/* valied table */ /* valid table */
tbl = lut_3d->table; tbl = lut_3d->table;
for (i = 0; i < VPFE_IPIPE_MAX_SIZE_3D_LUT; i++) { for (i = 0; i < VPFE_IPIPE_MAX_SIZE_3D_LUT; i++) {
/* /*
......
...@@ -675,7 +675,7 @@ static void isif_config_bclamp(struct vpfe_isif_device *isif, ...@@ -675,7 +675,7 @@ static void isif_config_bclamp(struct vpfe_isif_device *isif,
val = (bc->bc_mode_color & ISIF_BC_MODE_COLOR_MASK) << val = (bc->bc_mode_color & ISIF_BC_MODE_COLOR_MASK) <<
ISIF_BC_MODE_COLOR_SHIFT; ISIF_BC_MODE_COLOR_SHIFT;
/* Enable BC and horizontal clamp calculation paramaters */ /* Enable BC and horizontal clamp calculation parameters */
val = val | 1 | ((bc->horz.mode & ISIF_HORZ_BC_MODE_MASK) << val = val | 1 | ((bc->horz.mode & ISIF_HORZ_BC_MODE_MASK) <<
ISIF_HORZ_BC_MODE_SHIFT); ISIF_HORZ_BC_MODE_SHIFT);
...@@ -712,7 +712,7 @@ static void isif_config_bclamp(struct vpfe_isif_device *isif, ...@@ -712,7 +712,7 @@ static void isif_config_bclamp(struct vpfe_isif_device *isif,
isif_write(isif->isif_cfg.base_addr, val, CLHWIN2); isif_write(isif->isif_cfg.base_addr, val, CLHWIN2);
} }
/* vertical clamp calculation paramaters */ /* vertical clamp calculation parameters */
/* OB H Valid */ /* OB H Valid */
val = bc->vert.ob_h_sz_calc & ISIF_VERT_BC_OB_H_SZ_MASK; val = bc->vert.ob_h_sz_calc & ISIF_VERT_BC_OB_H_SZ_MASK;
......
...@@ -1284,7 +1284,7 @@ static int resizer_set_stream(struct v4l2_subdev *sd, int enable) ...@@ -1284,7 +1284,7 @@ static int resizer_set_stream(struct v4l2_subdev *sd, int enable)
* @cfg: V4L2 subdev pad config * @cfg: V4L2 subdev pad config
* @pad: pad number. * @pad: pad number.
* @which: wanted subdev format. * @which: wanted subdev format.
* Retun wanted mbus frame format. * Return wanted mbus frame format.
*/ */
static struct v4l2_mbus_framefmt * static struct v4l2_mbus_framefmt *
__resizer_get_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, __resizer_get_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg,
...@@ -1785,7 +1785,7 @@ void vpfe_resizer_unregister_entities(struct vpfe_resizer_device *vpfe_rsz) ...@@ -1785,7 +1785,7 @@ void vpfe_resizer_unregister_entities(struct vpfe_resizer_device *vpfe_rsz)
/* /*
* vpfe_resizer_register_entities() - Register entity * vpfe_resizer_register_entities() - Register entity
* @resizer - pointer to resizer devive. * @resizer - pointer to resizer device.
* @vdev: pointer to v4l2 device structure. * @vdev: pointer to v4l2 device structure.
*/ */
int vpfe_resizer_register_entities(struct vpfe_resizer_device *resizer, int vpfe_resizer_register_entities(struct vpfe_resizer_device *resizer,
......
...@@ -528,7 +528,7 @@ static void vpfe_cleanup_modules(struct vpfe_device *vpfe_dev, ...@@ -528,7 +528,7 @@ static void vpfe_cleanup_modules(struct vpfe_device *vpfe_dev,
* @vpfe_dev - ptr to vpfe capture device * @vpfe_dev - ptr to vpfe capture device
* @pdev - pointer to platform device * @pdev - pointer to platform device
* *
* intialize all v4l2 subdevs and media entities * initialize all v4l2 subdevs and media entities
*/ */
static int vpfe_initialize_modules(struct vpfe_device *vpfe_dev, static int vpfe_initialize_modules(struct vpfe_device *vpfe_dev,
struct platform_device *pdev) struct platform_device *pdev)
......
...@@ -432,11 +432,11 @@ struct ipu3_uapi_awb_fr_raw_buffer { ...@@ -432,11 +432,11 @@ struct ipu3_uapi_awb_fr_raw_buffer {
* *
* @grid_cfg: grid config, default 16x16. * @grid_cfg: grid config, default 16x16.
* @bayer_coeff: 1D Filter 1x11 center symmetry/anti-symmetry. * @bayer_coeff: 1D Filter 1x11 center symmetry/anti-symmetry.
* coeffcients defaults { 0, 0, 0, 0, 0, 128 }. * coefficients defaults { 0, 0, 0, 0, 0, 128 }.
* Applied on whole image for each Bayer channel separately * Applied on whole image for each Bayer channel separately
* by a weighted sum of its 11x1 neighbors. * by a weighted sum of its 11x1 neighbors.
* @reserved1: reserved * @reserved1: reserved
* @bayer_sign: sign of filter coeffcients, default 0. * @bayer_sign: sign of filter coefficients, default 0.
* @bayer_nf: normalization factor for the convolution coeffs, to make sure * @bayer_nf: normalization factor for the convolution coeffs, to make sure
* total memory needed is within pre-determined range. * total memory needed is within pre-determined range.
* NF should be the log2 of the sum of the abs values of the * NF should be the log2 of the sum of the abs values of the
......
...@@ -1510,7 +1510,7 @@ struct imgu_abi_blob_info { ...@@ -1510,7 +1510,7 @@ struct imgu_abi_blob_info {
/* offset wrt hdr in bytes */ /* offset wrt hdr in bytes */
u32 prog_name_offset; /* offset wrt hdr in bytes */ u32 prog_name_offset; /* offset wrt hdr in bytes */
u32 size; /* Size of blob */ u32 size; /* Size of blob */
u32 padding_size; /* total cummulative of bytes added u32 padding_size; /* total cumulative of bytes added
* due to section alignment * due to section alignment
*/ */
u32 icache_source; /* Position of icache in blob */ u32 icache_source; /* Position of icache in blob */
......
...@@ -146,7 +146,7 @@ struct imgu_device { ...@@ -146,7 +146,7 @@ struct imgu_device {
* vid_buf.list and css->queue * vid_buf.list and css->queue
*/ */
struct mutex lock; struct mutex lock;
/* Forbit streaming and buffer queuing during system suspend. */ /* Forbid streaming and buffer queuing during system suspend. */
atomic_t qbuf_barrier; atomic_t qbuf_barrier;
/* Indicate if system suspend take place while imgu is streaming. */ /* Indicate if system suspend take place while imgu is streaming. */
bool suspend_in_stream; bool suspend_in_stream;
......
...@@ -712,7 +712,7 @@ static void csi2_isr_ctx(struct iss_csi2_device *csi2, ...@@ -712,7 +712,7 @@ static void csi2_isr_ctx(struct iss_csi2_device *csi2,
/* Skip interrupts until we reach the frame skip count. The CSI2 will be /* Skip interrupts until we reach the frame skip count. The CSI2 will be
* automatically disabled, as the frame skip count has been programmed * automatically disabled, as the frame skip count has been programmed
* in the CSI2_CTx_CTRL1::COUNT field, so reenable it. * in the CSI2_CTx_CTRL1::COUNT field, so re-enable it.
* *
* It would have been nice to rely on the FRAME_NUMBER interrupt instead * It would have been nice to rely on the FRAME_NUMBER interrupt instead
* but it turned out that the interrupt is only generated when the CSI2 * but it turned out that the interrupt is only generated when the CSI2
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
* Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de> * Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
* *
* This driver provides an interface between platform-specific camera * This driver provides an interface between platform-specific camera
* busses and camera devices. It should be used if the camera is * buses and camera devices. It should be used if the camera is
* connected not over a "proper" bus like PCI or USB, but over a * connected not over a "proper" bus like PCI or USB, but over a
* special bus, like, for example, the Quick Capture interface on PXA270 * special bus, like, for example, the Quick Capture interface on PXA270
* SoCs. Later it should also be used for i.MX31 SoCs from Freescale. * SoCs. Later it should also be used for i.MX31 SoCs from Freescale.
* It can handle multiple cameras and / or multiple busses, which can * It can handle multiple cameras and / or multiple buses, which can
* be used, e.g., in stereo-vision applications. * be used, e.g., in stereo-vision applications.
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
......
...@@ -1470,7 +1470,7 @@ static int __init zoran_init(void) ...@@ -1470,7 +1470,7 @@ static int __init zoran_init(void)
v4l_nbufs = 2; v4l_nbufs = 2;
if (v4l_nbufs > VIDEO_MAX_FRAME) if (v4l_nbufs > VIDEO_MAX_FRAME)
v4l_nbufs = VIDEO_MAX_FRAME; v4l_nbufs = VIDEO_MAX_FRAME;
/* The user specfies the in KB, we want them in byte /* The user specifies the in KB, we want them in byte
* (and page aligned) */ * (and page aligned) */
v4l_bufsize = PAGE_ALIGN(v4l_bufsize * 1024); v4l_bufsize = PAGE_ALIGN(v4l_bufsize * 1024);
if (v4l_bufsize < 32768) if (v4l_bufsize < 32768)
......
...@@ -612,7 +612,7 @@ zr36057_set_memgrab (struct zoran *zr, ...@@ -612,7 +612,7 @@ zr36057_set_memgrab (struct zoran *zr,
zr->v4l_memgrab_active = 0; zr->v4l_memgrab_active = 0;
zr->v4l_grab_frame = NO_GRAB_ACTIVE; zr->v4l_grab_frame = NO_GRAB_ACTIVE;
/* reenable grabbing to screen if it was running */ /* re-enable grabbing to screen if it was running */
if (zr->v4l_overlay_active) { if (zr->v4l_overlay_active) {
zr36057_overlay(zr, 1); zr36057_overlay(zr, 1);
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment