media: platform: fix several typos
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 18 Feb 2019 19:29:00 +0000 (14:29 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 1 Mar 2019 14:35:21 +0000 (09:35 -0500)
Use codespell to fix lots of typos over frontends.

Manually verified to avoid false-positives.

Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Acked-by: Andrzej Pietrasiewicz <andrzejtp2010@gmail.com>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Houlong Wei <houlong.wei@mediatek.com>
Reviewed-by: Yong Deng <yong.deng@magewell.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
46 files changed:
drivers/media/platform/Kconfig
drivers/media/platform/atmel/atmel-isi.c
drivers/media/platform/coda/coda-jpeg.c
drivers/media/platform/davinci/isif.c
drivers/media/platform/davinci/vpbe.c
drivers/media/platform/davinci/vpif.c
drivers/media/platform/davinci/vpif_display.c
drivers/media/platform/exynos4-is/fimc-is-command.h
drivers/media/platform/exynos4-is/fimc-is-param.h
drivers/media/platform/exynos4-is/media-dev.h
drivers/media/platform/exynos4-is/mipi-csis.c
drivers/media/platform/marvell-ccic/mmp-driver.c
drivers/media/platform/mtk-mdp/mtk_mdp_core.h
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c
drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c
drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c
drivers/media/platform/mtk-vcodec/vdec_drv_if.h
drivers/media/platform/mtk-vcodec/vdec_vpu_if.h
drivers/media/platform/omap/omap_vout.c
drivers/media/platform/omap/omap_voutdef.h
drivers/media/platform/omap3isp/isp.c
drivers/media/platform/omap3isp/ispccdc.c
drivers/media/platform/omap3isp/ispcsi2.c
drivers/media/platform/pxa_camera.c
drivers/media/platform/qcom/venus/core.h
drivers/media/platform/rcar-vin/rcar-dma.c
drivers/media/platform/rcar-vin/rcar-v4l2.c
drivers/media/platform/rockchip/rga/rga-hw.c
drivers/media/platform/s3c-camif/camif-core.h
drivers/media/platform/s5p-jpeg/jpeg-core.h
drivers/media/platform/s5p-mfc/s5p_mfc_common.h
drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c
drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.h
drivers/media/platform/sti/delta/delta.h
drivers/media/platform/sti/hva/hva-h264.c
drivers/media/platform/stm32/stm32-dcmi.c
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.h
drivers/media/platform/ti-vpe/vpdma.c
drivers/media/platform/ti-vpe/vpe.c
drivers/media/platform/vsp1/vsp1_brx.c
drivers/media/platform/xilinx/xilinx-vip.c

index 6cff26b29a38fea8992fe4659eb6e43a94215578..4acbed18964497a43b41e08dad36b0880e09bf44 100644 (file)
@@ -668,7 +668,7 @@ menuconfig SDR_PLATFORM_DRIVERS
 if SDR_PLATFORM_DRIVERS
 
 config VIDEO_RCAR_DRIF
-       tristate "Renesas Digitial Radio Interface (DRIF)"
+       tristate "Renesas Digital Radio Interface (DRIF)"
        depends on VIDEO_V4L2
        depends on ARCH_RENESAS || COMPILE_TEST
        select VIDEOBUF2_VMALLOC
index fdb255e4a956d0332859a1e8baa6be733aebee2b..08b8d55830802ef4f9472520e034604b3f877750 100644 (file)
@@ -110,7 +110,7 @@ struct atmel_isi {
        bool                            enable_preview_path;
 
        struct completion               complete;
-       /* ISI peripherial clock */
+       /* ISI peripheral clock */
        struct clk                      *pclk;
        unsigned int                    irq;
 
@@ -1078,7 +1078,7 @@ static void isi_graph_notify_unbind(struct v4l2_async_notifier *notifier,
 
        dev_dbg(isi->dev, "Removing %s\n", video_device_node_name(isi->vdev));
 
-       /* Checks internaly if vdev have been init or not */
+       /* Checks internally if vdev have been init or not */
        video_unregister_device(isi->vdev);
 }
 
index 9f899a6cefed1addb3091e0ebd343d7ba0c1a3a0..39a2351c1e4812a13f452f70ebf1efebf1071874 100644 (file)
@@ -103,7 +103,7 @@ static const unsigned char chroma_ac_value[162 + 2] = {
 
 /*
  * Quantization tables for luminance and chrominance components in
- * zig-zag scan order from the Freescale i.MX VPU libaries
+ * zig-zag scan order from the Freescale i.MX VPU libraries
  */
 
 static unsigned char luma_q[64] = {
index 340f8218f54d307cd582ecf645ca2228dc0cf067..47cecd10eb9f9587a12c30d031f17b611ddf6097 100644 (file)
@@ -328,7 +328,7 @@ static void isif_config_bclamp(struct isif_black_clamp *bc)
        if (bc->en) {
                val = bc->bc_mode_color << ISIF_BC_MODE_COLOR_SHIFT;
 
-               /* Enable BC and horizontal clamp caculation paramaters */
+               /* Enable BC and horizontal clamp calculation parameters */
                val = val | 1 | (bc->horz.mode << ISIF_HORZ_BC_MODE_SHIFT);
 
                regw(val, CLAMPCFG);
@@ -358,7 +358,7 @@ static void isif_config_bclamp(struct isif_black_clamp *bc)
                        regw(bc->horz.win_start_v_calc, CLHWIN2);
                }
 
-               /* vertical clamp caculation paramaters */
+               /* vertical clamp calculation parameters */
 
                /* Reset clamp value sel for previous line */
                val |=
index 4766a7a23d16f8a479c3352699652c49d123050d..8339163a5231e37c5c0dcb926a175bfa64fd3507 100644 (file)
@@ -242,7 +242,7 @@ static int vpbe_set_output(struct vpbe_device *vpbe_dev, int index)
                goto unlock;
 
        /*
-        * It is assumed that venc or extenal encoder will set a default
+        * It is assumed that venc or external encoder will set a default
         * mode in the sub device. For external encoder or LCD pannel output,
         * we also need to set up the lcd port for the required mode. So setup
         * the lcd port for the default mode that is configured in the board
index 16352e2263d2d2efcf165aabded6d10e3f216e02..df66461f5d4f14c2bab2e42ff6dd347b74fc1115 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * vpif - Video Port Interface driver
  * VPIF is a receiver and transmitter for video data. It has two channels(0, 1)
- * that receiveing video byte stream and two channels(2, 3) for video output.
+ * that receiving video byte stream and two channels(2, 3) for video output.
  * The hardware supports SDTV, HDTV formats, raw data capture.
  * Currently, the driver supports NTSC and PAL standards.
  *
index 3517487d9760bb546876fcd87bb8febf45c82b50..f4b4f2a1dfc07616dc7cc7a467a723712a73aabf 100644 (file)
@@ -138,7 +138,7 @@ static int vpif_buffer_queue_setup(struct vb2_queue *vq,
  * vpif_buffer_queue : Callback function to add buffer to DMA queue
  * @vb: ptr to vb2_buffer
  *
- * This callback fucntion queues the buffer to DMA engine
+ * This callback function queues the buffer to DMA engine
  */
 static void vpif_buffer_queue(struct vb2_buffer *vb)
 {
@@ -635,7 +635,7 @@ static int vpif_try_fmt_vid_out(struct file *file, void *priv,
        struct v4l2_pix_format *pixfmt = &fmt->fmt.pix;
 
        /*
-        * to supress v4l-compliance warnings silently correct
+        * to suppress v4l-compliance warnings silently correct
         * the pixelformat
         */
        if (pixfmt->pixelformat != V4L2_PIX_FMT_YUV422P)
index 0d1f52e394b16d321d9aeed040062a7ec9733929..b06b56b890d5eec30199138c38b6d80b7b96a1a4 100644 (file)
@@ -18,7 +18,7 @@
 
 #define FIMC_IS_COMMAND_VER    110 /* FIMC-IS command set version 1.10 */
 
-/* Enumeration of commands beetween the FIMC-IS and the host processor. */
+/* Enumeration of commands between the FIMC-IS and the host processor. */
 
 /* HOST to FIMC-IS */
 #define HIC_PREVIEW_STILL      0x0001
index 8e31f76427762b2b35d08633fc7aa0a4d0337bf0..22923a3d405e08bd67a460c0c6c9e9b32868956e 100644 (file)
@@ -298,7 +298,7 @@ enum isp_af_mode {
 #define ISP_FLASH_COMMAND_AUTO                 2
 #define ISP_FLASH_COMMAND_TORCH                        3 /* 3 sec */
 
-/* Flash red-eye commads */
+/* Flash red-eye commands */
 #define ISP_FLASH_REDEYE_DISABLE               0
 #define ISP_FLASH_REDEYE_ENABLE                        1
 
index 9f527670395ab358df836105fa04c8ea6dee6e6e..a7c9490bbcb445051f7a8ffc7f7cfaaec349f298 100644 (file)
@@ -79,7 +79,7 @@ struct fimc_camclk_info {
 
 /**
  * struct fimc_sensor_info - image data source subdev information
- * @pdata: sensor's atrributes passed as media device's platform data
+ * @pdata: sensor's attributes passed as media device's platform data
  * @asd: asynchronous subdev registration data structure
  * @subdev: image sensor v4l2 subdev
  * @host: fimc device the sensor is currently linked to
index 35cb0162085b4d03bd12e9b6f099fa6759ca0e63..234e047e3e8f2c614a4306c9dd2439954243799a 100644 (file)
@@ -183,7 +183,7 @@ struct csis_drvdata {
  * @index: the hardware instance index
  * @pdev: CSIS platform device
  * @phy: pointer to the CSIS generic PHY
- * @regs: mmaped I/O registers memory
+ * @regs: mmapped I/O registers memory
  * @supplies: CSIS regulator supplies
  * @clock: CSIS clocks
  * @irq: requested s5p-mipi-csis irq number
@@ -745,7 +745,7 @@ static int s5pcsis_parse_dt(struct platform_device *pdev,
                goto err;
        }
 
-       /* Get MIPI CSI-2 bus configration from the endpoint node. */
+       /* Get MIPI CSI-2 bus configuration from the endpoint node. */
        of_property_read_u32(node, "samsung,csis-hs-settle",
                                        &state->hs_settle);
        state->wclk_ext = of_property_read_bool(node,
index 70a2833db0d146338d27bdcf04db04ceb62e5599..af76eb637773555f2033fe340de03a1b8af4ec40 100644 (file)
@@ -240,8 +240,8 @@ static void mmpcam_calc_dphy(struct mcam_camera *mcam)
         *  bit 8 ~ bit 15: HS_SETTLE
         *   Time interval during which the HS
         *   receiver shall ignore any Data Lane
-        *   HS transistions.
-        *   The vaule has been calibrated on
+        *   HS transitions.
+        *   The value has been calibrated on
         *   different boards. It seems to work well.
         *
         *  More detail please refer
index ad1cff306efdf1819223769a395cbf65b8b0749f..e5abb1abb3a3552ad11f4dd6f1c42abef6fa53c2 100644 (file)
@@ -41,7 +41,7 @@
 #define MTK_MDP_CTX_ERROR              BIT(5)
 
 /**
- *  struct mtk_mdp_pix_align - alignement of image
+ *  struct mtk_mdp_pix_align - alignment of image
  *  @org_w: source alignment of width
  *  @org_h: source alignment of height
  *  @target_w: dst alignment of width
@@ -122,8 +122,8 @@ struct mtk_mdp_frame {
 /**
  * struct mtk_mdp_variant - image processor variant information
  * @pix_max:           maximum limit of image size
- * @pix_min:           minimun limit of image size
- * @pix_align:         alignement of image
+ * @pix_min:           minimum limit of image size
+ * @pix_align:         alignment of image
  * @h_scale_up_max:    maximum scale-up in horizontal
  * @v_scale_up_max:    maximum scale-up in vertical
  * @h_scale_down_max:  maximum scale-down in horizontal
index 2a36f0ce6974b991fd1e7e87611698bf3b1e18f5..d022c65bb34c2836cf02c84c80bc03e440b9baf2 100644 (file)
@@ -1165,7 +1165,7 @@ static void vb2ops_vdec_buf_queue(struct vb2_buffer *vb)
        ret = vdec_if_decode(ctx, &src_mem, NULL, &res_chg);
        if (ret || !res_chg) {
                /*
-                * fb == NULL menas to parse SPS/PPS header or
+                * fb == NULL means to parse SPS/PPS header or
                 * resolution info in src_mem. Decode can fail
                 * if there is no SPS header or picture info
                 * in bs
index 8aba69555b124d4a866e3b9ab5d3020b3094589c..e7e2a108def96adf50bcb8e4f7f6ccd0b7a41fd4 100644 (file)
@@ -151,9 +151,9 @@ struct mtk_q_data {
  * @intra_period: I frame period
  * @gop_size: group of picture size, it's used as the intra frame period
  * @framerate_num: frame rate numerator. ex: framerate_num=30 and
- *                framerate_denom=1 menas FPS is 30
+ *                framerate_denom=1 means FPS is 30
  * @framerate_denom: frame rate denominator. ex: framerate_num=30 and
- *                  framerate_denom=1 menas FPS is 30
+ *                  framerate_denom=1 means FPS is 30
  * @h264_max_qp: Max value for H.264 quantization parameter
  * @h264_profile: V4L2 defined H.264 profile
  * @h264_level: V4L2 defined H.264 level
index c627202fcffd17b4116e9b8906c27ca099bebe5f..c6b48b5925fbe767b05904435284a96d19a0370c 100644 (file)
@@ -393,7 +393,7 @@ static void mtk_venc_set_param(struct mtk_vcodec_ctx *ctx,
                param->input_yuv_fmt = VENC_YUV_FORMAT_NV21;
                break;
        default:
-               mtk_v4l2_err("Unsupport fourcc =%d", q_data_src->fmt->fourcc);
+               mtk_v4l2_err("Unsupported fourcc =%d", q_data_src->fmt->fourcc);
                break;
        }
        param->h264_profile = enc_params->h264_profile;
index aa3ce41898bc82c194c32e4055d5facdfa789043..02c960c63ac0854b137ee05fb7e05bc4d415a2cc 100644 (file)
@@ -55,7 +55,7 @@ struct h264_fb {
 
 /**
  * struct h264_ring_fb_list - ring frame buffer list
- * @fb_list   : frame buffer arrary
+ * @fb_list   : frame buffer array
  * @read_idx  : read index
  * @write_idx : write index
  * @count     : buffer count in list
@@ -72,7 +72,7 @@ struct h264_ring_fb_list {
 /**
  * struct vdec_h264_dec_info - decode information
  * @dpb_sz             : decoding picture buffer size
- * @resolution_changed  : resoltion change happen
+ * @resolution_changed  : resolution change happen
  * @realloc_mv_buf     : flag to notify driver to re-allocate mv buffer
  * @reserved           : for 8 bytes alignment
  * @bs_dma             : Input bit-stream buffer dma address
index 3e84a761db3a9188500610a2a83a7c80d61580da..bac3723038de8154628d70d41da868063668e7e2 100644 (file)
@@ -120,7 +120,7 @@ struct vdec_vp8_hw_reg_base {
 /**
  * struct vdec_vp8_vpu_inst - VPU instance for VP8 decode
  * @wq_hd      : Wait queue to wait VPU message ack
- * @signaled   : 1 - Host has received ack message from VPU, 0 - not recevie
+ * @signaled   : 1 - Host has received ack message from VPU, 0 - not receive
  * @failure    : VPU execution result status 0 - success, others - fail
  * @inst_addr  : VPU decoder instance address
  */
index ded1154481cdc50c540f720613e3d0a37fe890c8..9a21591f3818a59912ffb25ec812a18d60f7a633 100644 (file)
@@ -80,7 +80,7 @@ void vdec_if_deinit(struct mtk_vcodec_ctx *ctx);
  * vdec_if_decode() - trigger decode
  * @ctx        : [in] v4l2 context
  * @bs : [in] input bitstream
- * @fb : [in] frame buffer to store decoded frame, when null menas parse
+ * @fb : [in] frame buffer to store decoded frame, when null means parse
  *     header only
  * @res_chg    : [out] resolution change happens if current bs have different
  *     picture width/height
index cd37bb2a610f20af0f3252d6d25a946e72652566..79d8eac7f5e243037da72dd7f0c6a4c35e422be2 100644 (file)
@@ -62,7 +62,7 @@ int vpu_dec_start(struct vdec_vpu_inst *vpu, uint32_t *data, unsigned int len);
 /**
  * vpu_dec_end - end decoding, basically the function will be invoked once
  *               when HW decoding done interrupt received successfully. The
- *               decoder in VPU will continute to do referene frame management
+ *               decoder in VPU will continue to do reference frame management
  *               and check if there is a new decoded frame available to display.
  *
  * @vpu : instance for vdec_vpu_inst
index ff3de2dce5a2663734be52aa7e38a098773023f8..37f0d7146dfa480fa3e7b9551177c29495ee7208 100644 (file)
@@ -1129,7 +1129,7 @@ static int vidioc_s_fmt_vid_out(struct file *file, void *fh,
        }
        timing = &dssdev->panel.timings;
 
-       /* We dont support RGB24-packed mode if vrfb rotation
+       /* We don't support RGB24-packed mode if vrfb rotation
         * is enabled*/
        if ((is_rotation_enabled(vout)) &&
                        f->fmt.pix.pixelformat == V4L2_PIX_FMT_RGB24) {
@@ -1147,7 +1147,7 @@ static int vidioc_s_fmt_vid_out(struct file *file, void *fh,
                vout->fbuf.fmt.width = timing->x_res;
        }
 
-       /* change to samller size is OK */
+       /* change to smaller size is OK */
 
        bpp = omap_vout_try_format(&f->fmt.pix);
        f->fmt.pix.sizeimage = f->fmt.pix.width * f->fmt.pix.height * bpp;
index 56b630b1c8b436f760183890cb864730754c7339..c740393c85097b1f348853b6e1ed41f04d89ae68 100644 (file)
@@ -37,7 +37,7 @@
 #define VID_MAX_WIDTH          1280    /* Largest width */
 #define VID_MAX_HEIGHT         720     /* Largest height */
 
-/* Mimimum requirement is 2x2 for DSS */
+/* Minimum requirement is 2x2 for DSS */
 #define VID_MIN_WIDTH          2
 #define VID_MIN_HEIGHT         2
 
@@ -135,7 +135,7 @@ struct omap_vout_device {
        enum omap_color_mode dss_mode;
 
        /* we don't allow to request new buffer when old buffers are
-        * still mmaped
+        * still mmapped
         */
        int mmap_count;
 
index 13f2828d880df373ff494d10416ecb16be873bf7..bd57174d81a781c41c801a3772c837745ae92499 100644 (file)
@@ -1517,7 +1517,7 @@ void omap3isp_print_status(struct isp_device *isp)
  *
  * To solve this problem power management support is split into prepare/complete
  * and suspend/resume operations. The pipelines are stopped in prepare() and the
- * ISP clocks get disabled in suspend(). Similarly, the clocks are reenabled in
+ * ISP clocks get disabled in suspend(). Similarly, the clocks are re-enabled in
  * resume(), and the the pipelines are restarted in complete().
  *
  * TODO: PM dependencies between the ISP and sensors are not modelled explicitly
index 14a1c24037c4a7f12f2d859f8675b28dcdba876f..261ad1175f9827463cc8ddab7a114511d06212ec 100644 (file)
@@ -1594,7 +1594,7 @@ static int ccdc_isr_buffer(struct isp_ccdc_device *ccdc)
                return 0;
 
        /* We're in continuous mode, and memory writes were disabled due to a
-        * buffer underrun. Reenable them now that we have a buffer. The buffer
+        * buffer underrun. Re-enable them now that we have a buffer. The buffer
         * address has been set in ccdc_video_queue.
         */
        if (ccdc->state == ISP_PIPELINE_STREAM_CONTINUOUS && ccdc->underrun) {
@@ -1712,7 +1712,7 @@ static void ccdc_vd1_isr(struct isp_ccdc_device *ccdc)
         * data to memory the CCDC and LSC are stopped immediately but
         * without change the CCDC stopping state machine. The CCDC
         * stopping state machine should be used only when user request
-        * for stopping is received (SINGLESHOT is an exeption).
+        * for stopping is received (SINGLESHOT is an exception).
         */
        switch (ccdc->state) {
        case ISP_PIPELINE_STREAM_SINGLESHOT:
index 9c180f607bcb70ec9dd8c4f4a204fc69479b69a3..da66ea65be5d206c2b4bfa0c8ecb048908de303d 100644 (file)
@@ -710,7 +710,7 @@ static void csi2_isr_ctx(struct isp_csi2_device *csi2,
 
        /* Skip interrupts until we reach the frame skip count. The CSI2 will be
         * 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
         * but it turned out that the interrupt is only generated when the CSI2
index 3cf3c6390cc8091f7e9af982a99cf0116fc3eb29..4fe228752a439e752eee498e4ca2e4ee49d511b2 100644 (file)
@@ -1631,7 +1631,7 @@ static int pxa_camera_set_bus_param(struct pxa_camera_dev *pcdev)
 
        pcdev->channels = 1;
 
-       /* Make choises, based on platform preferences */
+       /* Make choices, based on platform preferences */
        if ((common_flags & V4L2_MBUS_HSYNC_ACTIVE_HIGH) &&
            (common_flags & V4L2_MBUS_HSYNC_ACTIVE_LOW)) {
                if (pcdev->platform_flags & PXA_CAMERA_HSP)
index 79c7e816c706f31967f8c0ab60ee58d64f5fe50d..7a3feb5cee0014401e8f8a3ef1c7aaf19a7252b7 100644 (file)
@@ -219,7 +219,7 @@ struct venus_buffer {
 #define to_venus_buffer(ptr)   container_of(ptr, struct venus_buffer, vb)
 
 /**
- * struct venus_inst - holds per instance paramerters
+ * struct venus_inst - holds per instance parameters
  *
  * @list:      used for attach an instance to the core
  * @lock:      instance lock
index beb9248992a48a7469a9141c4330f1db7ac3852d..2207a31d355e617f393ea7db74581da7e8caceac 100644 (file)
@@ -681,7 +681,7 @@ static int rvin_setup(struct rvin_dev *vin)
                break;
        }
 
-       /* Enable VSYNC Field Toogle mode after one VSYNC input */
+       /* Enable VSYNC Field Toggle mode after one VSYNC input */
        if (vin->info->model == RCAR_GEN3)
                dmr2 = VNDMR2_FTEV;
        else
index 7a2851790b91ce73636faeb91b2ea91dc89c31a2..7cbdcbf9b090c6380c458e639ffd2e87e2f8cca9 100644 (file)
@@ -665,7 +665,7 @@ static void rvin_mc_try_format(struct rvin_dev *vin,
         * The V4L2 specification clearly documents the colorspace fields
         * as being set by drivers for capture devices. Using the values
         * supplied by userspace thus wouldn't comply with the API. Until
-        * the API is updated force fixed vaules.
+        * the API is updated force fixed values.
         */
        pix->colorspace = RVIN_DEFAULT_COLORSPACE;
        pix->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(pix->colorspace);
@@ -964,7 +964,7 @@ void rvin_v4l2_unregister(struct rvin_dev *vin)
        v4l2_info(&vin->v4l2_dev, "Removing %s\n",
                  video_device_node_name(&vin->vdev));
 
-       /* Checks internaly if vdev have been init or not */
+       /* Checks internally if vdev have been init or not */
        video_unregister_device(&vin->vdev);
 }
 
index 96d1b1b3fe8e86f5fff388d5fcc356e83a23a17b..843e50d17a72f750f1c91593bb52a7d74d1fb1df 100644 (file)
@@ -256,7 +256,7 @@ static void rga_cmd_set_trans_info(struct rga_ctx *ctx)
        }
 
        /*
-        * Cacluate the up/down scaling mode/factor.
+        * Calculate the up/down scaling mode/factor.
         *
         * RGA used to scale the picture first, and then rotate second,
         * so we need to swap the w/h when rotate degree is 90/270.
@@ -304,7 +304,7 @@ static void rga_cmd_set_trans_info(struct rga_ctx *ctx)
        }
 
        /*
-        * Cacluate the framebuffer virtual strides and active size,
+        * Calculate the framebuffer virtual strides and active size,
         * note that the step of vir_stride / vir_width is 4 byte words
         */
        src_vir_info.data.vir_stride = ctx->in.stride >> 2;
@@ -318,7 +318,7 @@ static void rga_cmd_set_trans_info(struct rga_ctx *ctx)
        dst_act_info.data.act_width = dst_w - 1;
 
        /*
-        * Cacluate the source framebuffer base address with offset pixel.
+        * Calculate the source framebuffer base address with offset pixel.
         */
        src_offsets = rga_get_addr_offset(&ctx->in, src_x, src_y,
                                          src_w, src_h);
index 1f5c8c94ce89464c44b67fc22635f211f8898688..be5e7357dffc25ce6f6eb28cd389cf020be9eeaa 100644 (file)
@@ -260,7 +260,7 @@ struct camif_vp {
  * @clock:       clocks required for the CAMIF operation
  * @lock:        mutex protecting this data structure
  * @slock:       spinlock protecting CAMIF registers
- * @io_base:     start address of the mmaped CAMIF registers
+ * @io_base:     start address of the mmapped CAMIF registers
  */
 struct camif_dev {
        struct media_device             media_dev;
index 90fda4b720eba32312969e56870ecc6079ab940a..144c102ff05f176ef0ca940dffa07d7ace6caa27 100644 (file)
@@ -153,7 +153,7 @@ struct s5p_jpeg_variant {
 
 /**
  * struct jpeg_fmt - driver's internal color format data
- * @name:      format descritpion
+ * @name:      format description
  * @fourcc:    the fourcc code, 0 if not applicable
  * @depth:     number of bits per pixel
  * @colplanes: number of color planes (1 for packed formats)
@@ -193,7 +193,7 @@ struct s5p_jpeg_marker {
  * @sos:       SOS marker's position relative to the buffer beginning
  * @dht:       DHT markers' positions relative to the buffer beginning
  * @dqt:       DQT markers' positions relative to the buffer beginning
- * @sof:       SOF0 marker's postition relative to the buffer beginning
+ * @sof:       SOF0 marker's position relative to the buffer beginning
  * @sof_len:   SOF0 marker's payload length (without length field itself)
  * @components:        number of image components
  * @size:      image buffer size in bytes
index 20442a9b9f7a39a7d32b3800ab995ea455f447a9..24148020baa9a9cb61f8ec3aeb3545fb9ce8c713 100644 (file)
@@ -268,7 +268,7 @@ struct s5p_mfc_priv_buf {
  * @enc_ctrl_handler:  control framework handler for encoding
  * @pm:                        power management control
  * @variant:           MFC hardware variant information
- * @num_inst:          couter of active MFC instances
+ * @num_inst:          counter of active MFC instances
  * @irqlock:           lock for operations on videobuf2 queues
  * @condlock:          lock for changing/checking if a context is ready to be
  *                     processed
index ee7b15b335e081a3e01796f1ae6658ebae9d7fe4..9f832ba7bc8cb2be5bc7ef162120b0d34f7ab452 100644 (file)
@@ -51,7 +51,7 @@ int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev)
        struct firmware *fw_blob;
        int i, err = -EINVAL;
 
-       /* Firmare has to be present as a separate file or compiled
+       /* Firmware has to be present as a separate file or compiled
         * into kernel. */
        mfc_debug_enter();
 
index f4c0e3a8f27d3427680e7de16b6fa4af20b476d7..e111f9c47179157af3df486fe1e8490982b02836 100644 (file)
@@ -602,7 +602,7 @@ static int vidioc_querybuf(struct file *file, void *priv,
        int i;
 
        if (buf->memory != V4L2_MEMORY_MMAP) {
-               mfc_err("Only mmaped buffers can be used\n");
+               mfc_err("Only mmapped buffers can be used\n");
                return -EINVAL;
        }
        mfc_debug(2, "State: %d, buf->type: %d\n", ctx->state, buf->type);
index 0913881219ffc597f2cbc606717a252bab909bc8..6144e95f64256da99d2e51d0a2018f90bb43631b 100644 (file)
@@ -1293,7 +1293,7 @@ static int s5p_mfc_run_init_dec_buffers(struct s5p_mfc_ctx *ctx)
         * First set the output frame buffers
         */
        if (ctx->capture_state != QUEUE_BUFS_MMAPED) {
-               mfc_err("It seems that not all destination buffers were mmaped\nMFC requires that all destination are mmaped before starting processing\n");
+               mfc_err("It seems that not all destination buffers were mmapped\nMFC requires that all destination are mmapped before starting processing\n");
                return -EAGAIN;
        }
        if (list_empty(&ctx->src_queue)) {
index 7c629be432052d4be1e867ca96eebf208812bd23..281699ab7fe117ef3c9d70c8decf1671d3446d1f 100644 (file)
@@ -53,7 +53,7 @@ static int s5p_mfc_alloc_dec_temp_buffers_v6(struct s5p_mfc_ctx *ctx)
        return 0;
 }
 
-/* Release temproary buffers for decoding */
+/* Release temporary buffers for decoding */
 static void s5p_mfc_release_dec_desc_buffer_v6(struct s5p_mfc_ctx *ctx)
 {
        /* NOP */
@@ -1928,7 +1928,7 @@ static inline int s5p_mfc_run_init_dec_buffers(struct s5p_mfc_ctx *ctx)
 
        if (ctx->capture_state != QUEUE_BUFS_MMAPED) {
                mfc_err("It seems that not all destination buffers were\n"
-                       "mmaped.MFC requires that all destination are mmaped\n"
+                       "mmapped.MFC requires that all destination are mmapped\n"
                        "before starting processing.\n");
                return -EAGAIN;
        }
index 3dbb3a287cc0ba00a6265a2c96772600fe618c7c..c9d6021904cd7ec9c70d294324b6f13a8e53a7d5 100644 (file)
@@ -193,7 +193,7 @@ struct c8sectpfei {
 #define C8SECTPFE_SYS_ENABLE             BIT(0)
 
 /*
- * Ponter record data structure required for each input block
+ * Pointer record data structure required for each input block
  * see Table 82 on page 167 of functional specification.
  */
 
index 2ba99922c05b027ddabb85c144601de3ceee398b..914556030e706b81c084177718421b7d2e740ba2 100644 (file)
@@ -286,7 +286,7 @@ struct delta_dec {
         * Header parsing must be done using decode(), giving
         * explicitly header access unit or first access unit of bitstream.
         * If no valid header is found, get_streaminfo will return -ENODATA,
-        * in this case the next bistream access unit must be decoded till
+        * in this case the next bitstream access unit must be decoded till
         * get_streaminfo becomes successful.
         */
        int (*get_streaminfo)(struct delta_ctx *ctx,
index b61a5d337d2a17547e91cf62e807954803c444fd..c34f7cf5aed20e4e12c3a4c47e27114138fd03cb 100644 (file)
@@ -626,7 +626,7 @@ static int hva_h264_prepare_task(struct hva_ctx *pctx,
        td->frame_width = frame_width;
        td->frame_height = frame_height;
 
-       /* set frame alignement */
+       /* set frame alignment */
        td->window_width =  frame_width;
        td->window_height = frame_height;
        td->window_horizontal_offset = 0;
index 6732874114cf7882cf6dc518046a716e470e1bcb..5fe5b38fa901d4bc2728ca5a316e1618c2d1fe74 100644 (file)
@@ -1544,7 +1544,7 @@ static void dcmi_graph_notify_unbind(struct v4l2_async_notifier *notifier,
 
        dev_dbg(dcmi->dev, "Removing %s\n", video_device_node_name(dcmi->vdev));
 
-       /* Checks internaly if vdev has been init or not */
+       /* Checks internally if vdev has been init or not */
        video_unregister_device(dcmi->vdev);
 }
 
index f30a210e9caa361a1247e33c25ab3bb76a9f1a10..c626821aaedb5fba77e0a0e0755289f85d242c56 100644 (file)
@@ -65,7 +65,7 @@ bool sun6i_csi_is_format_supported(struct sun6i_csi *csi, u32 pixformat,
 int sun6i_csi_set_power(struct sun6i_csi *csi, bool enable);
 
 /**
- * sun6i_csi_update_config() - update the csi register setttings
+ * sun6i_csi_update_config() - update the csi register settings
  * @csi:       pointer to the csi
  * @config:    see struct sun6i_csi_config
  */
index e2cf2b90e500fb81480f6a7b1b2f62333260dcb3..1da2cb3aaf0c5dcdd2369e4f046fbcd0855301da 100644 (file)
@@ -404,7 +404,7 @@ EXPORT_SYMBOL(vpdma_map_desc_buf);
 
 /*
  * unmap descriptor/payload DMA buffer, disabling DMA access and
- * allowing the main processor to acces the data
+ * allowing the main processor to access the data
  */
 void vpdma_unmap_desc_buf(struct vpdma_data *vpdma, struct vpdma_buf *buf)
 {
@@ -501,7 +501,7 @@ void vpdma_reset_desc_list(struct vpdma_desc_list *list)
 EXPORT_SYMBOL(vpdma_reset_desc_list);
 
 /*
- * free the buffer allocated fot the VPDMA descriptor list, this should be
+ * free the buffer allocated for the VPDMA descriptor list, this should be
  * called when the user doesn't want to use VPDMA any more.
  */
 void vpdma_free_desc_list(struct vpdma_desc_list *list)
@@ -790,7 +790,7 @@ static void dump_dtd(struct vpdma_dtd *dtd)
  * append an outbound data transfer descriptor to the given descriptor list,
  * this sets up a 'client to memory' VPDMA transfer for the given VPDMA channel
  *
- * @list: vpdma desc list to which we add this decriptor
+ * @list: vpdma desc list to which we add this descriptor
  * @width: width of the image in pixels in memory
  * @c_rect: compose params of output image
  * @fmt: vpdma data format of the buffer
@@ -798,7 +798,7 @@ static void dump_dtd(struct vpdma_dtd *dtd)
  * max_width: enum for maximum width of data transfer
  * max_height: enum for maximum height of data transfer
  * chan: VPDMA channel
- * flags: VPDMA flags to configure some descriptor fileds
+ * flags: VPDMA flags to configure some descriptor fields
  */
 void vpdma_add_out_dtd(struct vpdma_desc_list *list, int width,
                int stride, const struct v4l2_rect *c_rect,
@@ -863,14 +863,14 @@ EXPORT_SYMBOL(vpdma_rawchan_add_out_dtd);
  * append an inbound data transfer descriptor to the given descriptor list,
  * this sets up a 'memory to client' VPDMA transfer for the given VPDMA channel
  *
- * @list: vpdma desc list to which we add this decriptor
+ * @list: vpdma desc list to which we add this descriptor
  * @width: width of the image in pixels in memory(not the cropped width)
  * @c_rect: crop params of input image
  * @fmt: vpdma data format of the buffer
  * dma_addr: dma address as seen by VPDMA
  * chan: VPDMA channel
  * field: top or bottom field info of the input image
- * flags: VPDMA flags to configure some descriptor fileds
+ * flags: VPDMA flags to configure some descriptor fields
  * frame_width/height: the complete width/height of the image presented to the
  *                     client (this makes sense when multiple channels are
  *                     connected to the same client, forming a larger frame)
@@ -1008,7 +1008,7 @@ unsigned int vpdma_get_list_mask(struct vpdma_data *vpdma, int irq_num)
 }
 EXPORT_SYMBOL(vpdma_get_list_mask);
 
-/* clear previosuly occured list intterupts in the LIST_STAT register */
+/* clear previously occurred list interupts in the LIST_STAT register */
 void vpdma_clear_list_stat(struct vpdma_data *vpdma, int irq_num,
                           int list_num)
 {
index d70871d0ad2d9654fbf02f7b1977aa2a4e8a7aa3..207e7e76c0480270a4bcf6e5d76e54371bcc4022 100644 (file)
@@ -876,7 +876,7 @@ static int set_srcdst_params(struct vpe_ctx *ctx)
                /*
                 * we make sure that the source image has a 16 byte aligned
                 * stride, we need to do the same for the motion vector buffer
-                * by aligning it's stride to the next 16 byte boundry. this
+                * by aligning it's stride to the next 16 byte boundary. this
                 * extra space will not be used by the de-interlacer, but will
                 * ensure that vpdma operates correctly
                 */
index 5e50178b057dc7df5050afd26863077ffb2d6232..58ad248cd7f759a50766283f300b751b260c75b7 100644 (file)
@@ -296,7 +296,7 @@ static void brx_configure_stream(struct vsp1_entity *entity,
        /*
         * The hardware is extremely flexible but we have no userspace API to
         * expose all the parameters, nor is it clear whether we would have use
-        * cases for all the supported modes. Let's just harcode the parameters
+        * cases for all the supported modes. Let's just hardcode the parameters
         * to sane default values for now.
         */
 
@@ -373,7 +373,7 @@ static void brx_configure_stream(struct vsp1_entity *entity,
                vsp1_brx_write(brx, dlb, VI6_BRU_CTRL(i), ctrl);
 
                /*
-                * Harcode the blending formula to
+                * Hardcode the blending formula to
                 *
                 *      DSTc = DSTc * (1 - SRCa) + SRCc * SRCa
                 *      DSTa = DSTa * (1 - SRCa) + SRCa
index 18f98838111bfe8966f5db0bf1685b5cdfdf8ece..08a825c3a3f605bd6c2ace5db568a4a4fd1a1887 100644 (file)
@@ -166,7 +166,7 @@ EXPORT_SYMBOL_GPL(xvip_set_format_size);
  * the register, otherwise the bitmask is cleared from the register
  * when the flag @set is false.
  *
- * Fox eample, this function can be used to set a control with a boolean value
+ * Fox example, this function can be used to set a control with a boolean value
  * requested by users. If the caller knows whether to set or clear in the first
  * place, the caller should call xvip_clr() or xvip_set() directly instead of
  * using this function.