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

Manually verified to avoid false-positives.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Reviewed-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
13 files changed:
include/linux/platform_data/media/si4713.h
include/media/davinci/dm355_ccdc.h
include/media/davinci/dm644x_ccdc.h
include/media/drv-intf/exynos-fimc.h
include/media/drv-intf/saa7146.h
include/media/drv-intf/saa7146_vv.h
include/media/dvb_frontend.h
include/media/rc-map.h
include/media/v4l2-ctrls.h
include/media/v4l2-fwnode.h
include/media/v4l2-subdev.h
include/media/videobuf-core.h
include/media/videobuf2-core.h

index 932668a..13b3eb7 100644 (file)
@@ -31,7 +31,7 @@ struct si4713_platform_data {
  */
 struct si4713_rnl {
        __u32 index;            /* modulator index */
-       __u32 frequency;        /* frequency to peform rnl measurement */
+       __u32 frequency;        /* frequency to perform rnl measurement */
        __s32 rnl;              /* result of measurement in dBuV */
        __u32 reserved[4];      /* drivers and apps must init this to 0 */
 };
@@ -40,7 +40,7 @@ struct si4713_rnl {
  * This is the ioctl number to query for rnl. Users must pass a
  * struct si4713_rnl pointer specifying desired frequency in 'frequency' field
  * following driver capabilities (i.e V4L2_TUNER_CAP_LOW).
- * Driver must return measured value in the same struture, filling 'rnl' field.
+ * Driver must return measured value in the same structure, filling 'rnl' field.
  */
 #define SI4713_IOC_MEASURE_RNL _IOWR('V', BASE_VIDIOC_PRIVATE + 0, \
                                                struct si4713_rnl)
index e6bc72f..1cba42d 100644 (file)
@@ -228,7 +228,7 @@ struct ccdc_config_params_raw {
        /* Threshold of median filter */
        int med_filt_thres;
        /*
-        * horz and vertical data offset. Appliable for defect correction
+        * horz and vertical data offset. Applicable for defect correction
         * and lsc
         */
        struct ccdc_data_offset data_offset;
@@ -238,7 +238,7 @@ struct ccdc_config_params_raw {
        struct ccdc_black_clamp blk_clamp;
        /* Structure for Black Compensation */
        struct ccdc_black_compensation blk_comp;
-       /* struture for vertical Defect Correction Module Configuration */
+       /* structure for vertical Defect Correction Module Configuration */
        struct ccdc_vertical_dft vertical_dft;
        /* structure for color space converter Module Configuration */
        struct ccdc_csc csc;
index 6ea2ce2..694fc8f 100644 (file)
@@ -152,7 +152,7 @@ struct ccdc_params_raw {
         * order in memory(bottom to top)
         */
        unsigned char image_invert_enable;
-       /* configurable paramaters */
+       /* configurable parameters */
        struct ccdc_config_params_raw config_params;
 };
 
index f9c6433..54c2147 100644 (file)
@@ -81,7 +81,7 @@ struct fimc_source_info {
  * v4l2_device notification id. This is only for internal use in the kernel.
  * Sensor subdevs should issue S5P_FIMC_TX_END_NOTIFY notification in single
  * frame capture mode when there is only one VSYNC pulse issued by the sensor
- * at begining of the frame transmission.
+ * at beginning of the frame transmission.
  */
 #define S5P_FIMC_TX_END_NOTIFY _IO('e', 0)
 
index a7bf2c4..71ce63c 100644 (file)
@@ -139,7 +139,7 @@ struct saa7146_dev
        void                            *ext_priv;      /* pointer for extension private use (most likely some private data) */
        struct saa7146_ext_vv           *ext_vv_data;
 
-       /* per device video/vbi informations (if available) */
+       /* per device video/vbi information (if available) */
        struct saa7146_vv       *vv_data;
        void (*vv_callback)(struct saa7146_dev *dev, unsigned long status);
 
index 6f80fb7..b34d86b 100644 (file)
@@ -151,7 +151,7 @@ struct saa7146_vv
 
 struct saa7146_ext_vv
 {
-       /* informations about the video capabilities of the device */
+       /* information about the video capabilities of the device */
        int     inputs;
        int     audios;
        u32     capabilities;
@@ -241,7 +241,7 @@ void saa7146_res_free(struct saa7146_fh *fh, unsigned int bits);
 #define SAA7146_CLIPPING_MASK          0x6
 #define SAA7146_CLIPPING_MASK_INVERTED 0x7
 
-/* output formats: each entry holds four informations */
+/* output formats: each entry holds four information */
 #define RGB08_COMPOSED 0x0217 /* composed is used in the sense of "not-planar" */
 /* this means: planar?=0, yuv2rgb-conversation-mode=2, dither=yes(=1), format-mode = 7 */
 #define RGB15_COMPOSED 0x0213
index 6f7a85a..f05cd7b 100644 (file)
@@ -160,7 +160,7 @@ enum dvbfe_algo {
  *     The frontend search for a signal failed
  *
  * @DVBFE_ALGO_SEARCH_INVALID:
- *     The frontend search algorith was probably supplied with invalid
+ *     The frontend search algorithm was probably supplied with invalid
  *     parameters and the search is an invalid one
  *
  * @DVBFE_ALGO_SEARCH_ERROR:
@@ -204,7 +204,7 @@ enum dvbfe_search {
  * @set_config:                callback function used to send some tuner-specific
  *                     parameters.
  * @get_frequency:     get the actual tuned frequency
- * @get_bandwidth:     get the bandwitdh used by the low pass filters
+ * @get_bandwidth:     get the bandwidth used by the low pass filters
  * @get_if_frequency:  get the Intermediate Frequency, in Hz. For baseband,
  *                     should return 0.
  * @get_status:                returns the frontend lock status
@@ -232,7 +232,7 @@ struct dvb_tuner_ops {
        int (*suspend)(struct dvb_frontend *fe);
        int (*resume)(struct dvb_frontend *fe);
 
-       /* This is the recomended way to set the tuner */
+       /* This is the recommended way to set the tuner */
        int (*set_params)(struct dvb_frontend *fe);
        int (*set_analog_params)(struct dvb_frontend *fe, struct analog_parameters *p);
 
@@ -358,7 +358,7 @@ struct dvb_frontend_internal_info {
  * @release:           callback function called when frontend is ready to be
  *                     freed.
  *                     drivers should free any allocated memory.
- * @release_sec:       callback function requesting that the Satelite Equipment
+ * @release_sec:       callback function requesting that the Satellite Equipment
  *                     Control (SEC) driver to release and free any memory
  *                     allocated by the driver.
  * @init:              callback function used to initialize the tuner device.
index e5e86d5..5e684bb 100644 (file)
@@ -144,14 +144,14 @@ struct rc_map_list {
 /* Routines from rc-map.c */
 
 /**
- * rc_map_register() - Registers a Remote Controler scancode map
+ * rc_map_register() - Registers a Remote Controller scancode map
  *
  * @map:       pointer to struct rc_map_list
  */
 int rc_map_register(struct rc_map_list *map);
 
 /**
- * rc_map_unregister() - Unregisters a Remote Controler scancode map
+ * rc_map_unregister() - Unregisters a Remote Controller scancode map
  *
  * @map:       pointer to struct rc_map_list
  */
index d63cf22..e5cae37 100644 (file)
@@ -648,7 +648,7 @@ struct v4l2_ctrl *v4l2_ctrl_new_std_menu_items(struct v4l2_ctrl_handler *hdl,
  * @def:       The control's default value.
  * @qmenu_int: The control's menu entries.
  *
- * Same as v4l2_ctrl_new_std_menu(), but @mask is set to 0 and it additionaly
+ * Same as v4l2_ctrl_new_std_menu(), but @mask is set to 0 and it additionally
  * takes as an argument an array of integers determining the menu items.
  *
  * If @id refers to a non-integer-menu control, then this function will
index 6d9d9f1..6c07825 100644 (file)
@@ -143,7 +143,7 @@ struct v4l2_fwnode_link {
  * @vep.bus_type to V4L2_MBUS_UNKNOWN. The caller may not provide a default
  * configuration in this case as the defaults are specific to a given bus type.
  * This functionality is deprecated and should not be used in new drivers and it
- * is only supported for CSI-2 D-PHY, parallel and Bt.656 busses.
+ * is only supported for CSI-2 D-PHY, parallel and Bt.656 buses.
  *
  * The function does not change the V4L2 fwnode endpoint state if it fails.
  *
@@ -186,7 +186,7 @@ void v4l2_fwnode_endpoint_free(struct v4l2_fwnode_endpoint *vep);
  * @vep.bus_type to V4L2_MBUS_UNKNOWN. The caller may not provide a default
  * configuration in this case as the defaults are specific to a given bus type.
  * This functionality is deprecated and should not be used in new drivers and it
- * is only supported for CSI-2 D-PHY, parallel and Bt.656 busses.
+ * is only supported for CSI-2 D-PHY, parallel and Bt.656 buses.
  *
  * The function does not change the V4L2 fwnode endpoint state if it fails.
  *
index 34da094..349e1c1 100644 (file)
@@ -70,7 +70,7 @@ struct v4l2_decode_vbi_line {
  * device. These devices are usually audio/video muxers/encoders/decoders or
  * sensors and webcam controllers.
  *
- * Usually these devices are controlled through an i2c bus, but other busses
+ * Usually these devices are controlled through an i2c bus, but other buses
  * may also be used.
  *
  * The v4l2_subdev struct provides a way of accessing these devices in a
index 5684dc6..2c4db97 100644 (file)
@@ -43,7 +43,7 @@ struct videobuf_queue;
  * (which v4l2 uses).
  *
  * If there is a valid mapping for a buffer, buffer->baddr/bsize holds
- * userspace address + size which can be feeded into the
+ * userspace address + size which can be fed into the
  * videobuf_dma_init_user function listed above.
  *
  */
index a844abc..910f3d4 100644 (file)
@@ -399,7 +399,7 @@ struct vb2_buffer {
  * @buf_queue:         passes buffer vb to the driver; driver may start
  *                     hardware operation on this buffer; driver should give
  *                     the buffer back by calling vb2_buffer_done() function;
- *                     it is allways called after calling VIDIOC_STREAMON()
+ *                     it is always called after calling VIDIOC_STREAMON()
  *                     ioctl; might be called before @start_streaming callback
  *                     if user pre-queued buffers before calling
  *                     VIDIOC_STREAMON().