summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-02-18 14:29:06 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-03-01 09:45:52 -0500
commite907bf3c9820c8480b1d83aca42a5668c5364be9 (patch)
tree67176a1cb5932ba46a827c6cb6ca6f57a74d0bb6
parent4b129dc907e9b95349380a1fd0f810c5d686f705 (diff)
media: include: fix several typos
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>
-rw-r--r--include/linux/platform_data/media/si4713.h4
-rw-r--r--include/media/davinci/dm355_ccdc.h4
-rw-r--r--include/media/davinci/dm644x_ccdc.h2
-rw-r--r--include/media/drv-intf/exynos-fimc.h2
-rw-r--r--include/media/drv-intf/saa7146.h2
-rw-r--r--include/media/drv-intf/saa7146_vv.h4
-rw-r--r--include/media/dvb_frontend.h8
-rw-r--r--include/media/rc-map.h4
-rw-r--r--include/media/v4l2-ctrls.h2
-rw-r--r--include/media/v4l2-fwnode.h4
-rw-r--r--include/media/v4l2-subdev.h2
-rw-r--r--include/media/videobuf-core.h2
-rw-r--r--include/media/videobuf2-core.h2
13 files changed, 21 insertions, 21 deletions
diff --git a/include/linux/platform_data/media/si4713.h b/include/linux/platform_data/media/si4713.h
index 932668ad54f7..13b3eb7a9059 100644
--- a/include/linux/platform_data/media/si4713.h
+++ b/include/linux/platform_data/media/si4713.h
@@ -31,7 +31,7 @@ struct si4713_platform_data {
31 */ 31 */
32struct si4713_rnl { 32struct si4713_rnl {
33 __u32 index; /* modulator index */ 33 __u32 index; /* modulator index */
34 __u32 frequency; /* frequency to peform rnl measurement */ 34 __u32 frequency; /* frequency to perform rnl measurement */
35 __s32 rnl; /* result of measurement in dBuV */ 35 __s32 rnl; /* result of measurement in dBuV */
36 __u32 reserved[4]; /* drivers and apps must init this to 0 */ 36 __u32 reserved[4]; /* drivers and apps must init this to 0 */
37}; 37};
@@ -40,7 +40,7 @@ struct si4713_rnl {
40 * This is the ioctl number to query for rnl. Users must pass a 40 * This is the ioctl number to query for rnl. Users must pass a
41 * struct si4713_rnl pointer specifying desired frequency in 'frequency' field 41 * struct si4713_rnl pointer specifying desired frequency in 'frequency' field
42 * following driver capabilities (i.e V4L2_TUNER_CAP_LOW). 42 * following driver capabilities (i.e V4L2_TUNER_CAP_LOW).
43 * Driver must return measured value in the same struture, filling 'rnl' field. 43 * Driver must return measured value in the same structure, filling 'rnl' field.
44 */ 44 */
45#define SI4713_IOC_MEASURE_RNL _IOWR('V', BASE_VIDIOC_PRIVATE + 0, \ 45#define SI4713_IOC_MEASURE_RNL _IOWR('V', BASE_VIDIOC_PRIVATE + 0, \
46 struct si4713_rnl) 46 struct si4713_rnl)
diff --git a/include/media/davinci/dm355_ccdc.h b/include/media/davinci/dm355_ccdc.h
index e6bc72f6b60f..1cba42d805fa 100644
--- a/include/media/davinci/dm355_ccdc.h
+++ b/include/media/davinci/dm355_ccdc.h
@@ -228,7 +228,7 @@ struct ccdc_config_params_raw {
228 /* Threshold of median filter */ 228 /* Threshold of median filter */
229 int med_filt_thres; 229 int med_filt_thres;
230 /* 230 /*
231 * horz and vertical data offset. Appliable for defect correction 231 * horz and vertical data offset. Applicable for defect correction
232 * and lsc 232 * and lsc
233 */ 233 */
234 struct ccdc_data_offset data_offset; 234 struct ccdc_data_offset data_offset;
@@ -238,7 +238,7 @@ struct ccdc_config_params_raw {
238 struct ccdc_black_clamp blk_clamp; 238 struct ccdc_black_clamp blk_clamp;
239 /* Structure for Black Compensation */ 239 /* Structure for Black Compensation */
240 struct ccdc_black_compensation blk_comp; 240 struct ccdc_black_compensation blk_comp;
241 /* struture for vertical Defect Correction Module Configuration */ 241 /* structure for vertical Defect Correction Module Configuration */
242 struct ccdc_vertical_dft vertical_dft; 242 struct ccdc_vertical_dft vertical_dft;
243 /* structure for color space converter Module Configuration */ 243 /* structure for color space converter Module Configuration */
244 struct ccdc_csc csc; 244 struct ccdc_csc csc;
diff --git a/include/media/davinci/dm644x_ccdc.h b/include/media/davinci/dm644x_ccdc.h
index 6ea2ce241851..694fc8f6081f 100644
--- a/include/media/davinci/dm644x_ccdc.h
+++ b/include/media/davinci/dm644x_ccdc.h
@@ -152,7 +152,7 @@ struct ccdc_params_raw {
152 * order in memory(bottom to top) 152 * order in memory(bottom to top)
153 */ 153 */
154 unsigned char image_invert_enable; 154 unsigned char image_invert_enable;
155 /* configurable paramaters */ 155 /* configurable parameters */
156 struct ccdc_config_params_raw config_params; 156 struct ccdc_config_params_raw config_params;
157}; 157};
158 158
diff --git a/include/media/drv-intf/exynos-fimc.h b/include/media/drv-intf/exynos-fimc.h
index f9c64338841f..54c214737142 100644
--- a/include/media/drv-intf/exynos-fimc.h
+++ b/include/media/drv-intf/exynos-fimc.h
@@ -81,7 +81,7 @@ struct fimc_source_info {
81 * v4l2_device notification id. This is only for internal use in the kernel. 81 * v4l2_device notification id. This is only for internal use in the kernel.
82 * Sensor subdevs should issue S5P_FIMC_TX_END_NOTIFY notification in single 82 * Sensor subdevs should issue S5P_FIMC_TX_END_NOTIFY notification in single
83 * frame capture mode when there is only one VSYNC pulse issued by the sensor 83 * frame capture mode when there is only one VSYNC pulse issued by the sensor
84 * at begining of the frame transmission. 84 * at beginning of the frame transmission.
85 */ 85 */
86#define S5P_FIMC_TX_END_NOTIFY _IO('e', 0) 86#define S5P_FIMC_TX_END_NOTIFY _IO('e', 0)
87 87
diff --git a/include/media/drv-intf/saa7146.h b/include/media/drv-intf/saa7146.h
index a7bf2c4a2e4d..71ce63c99cb4 100644
--- a/include/media/drv-intf/saa7146.h
+++ b/include/media/drv-intf/saa7146.h
@@ -139,7 +139,7 @@ struct saa7146_dev
139 void *ext_priv; /* pointer for extension private use (most likely some private data) */ 139 void *ext_priv; /* pointer for extension private use (most likely some private data) */
140 struct saa7146_ext_vv *ext_vv_data; 140 struct saa7146_ext_vv *ext_vv_data;
141 141
142 /* per device video/vbi informations (if available) */ 142 /* per device video/vbi information (if available) */
143 struct saa7146_vv *vv_data; 143 struct saa7146_vv *vv_data;
144 void (*vv_callback)(struct saa7146_dev *dev, unsigned long status); 144 void (*vv_callback)(struct saa7146_dev *dev, unsigned long status);
145 145
diff --git a/include/media/drv-intf/saa7146_vv.h b/include/media/drv-intf/saa7146_vv.h
index 6f80fb7f31a5..b34d86bb0664 100644
--- a/include/media/drv-intf/saa7146_vv.h
+++ b/include/media/drv-intf/saa7146_vv.h
@@ -151,7 +151,7 @@ struct saa7146_vv
151 151
152struct saa7146_ext_vv 152struct saa7146_ext_vv
153{ 153{
154 /* informations about the video capabilities of the device */ 154 /* information about the video capabilities of the device */
155 int inputs; 155 int inputs;
156 int audios; 156 int audios;
157 u32 capabilities; 157 u32 capabilities;
@@ -241,7 +241,7 @@ void saa7146_res_free(struct saa7146_fh *fh, unsigned int bits);
241#define SAA7146_CLIPPING_MASK 0x6 241#define SAA7146_CLIPPING_MASK 0x6
242#define SAA7146_CLIPPING_MASK_INVERTED 0x7 242#define SAA7146_CLIPPING_MASK_INVERTED 0x7
243 243
244/* output formats: each entry holds four informations */ 244/* output formats: each entry holds four information */
245#define RGB08_COMPOSED 0x0217 /* composed is used in the sense of "not-planar" */ 245#define RGB08_COMPOSED 0x0217 /* composed is used in the sense of "not-planar" */
246/* this means: planar?=0, yuv2rgb-conversation-mode=2, dither=yes(=1), format-mode = 7 */ 246/* this means: planar?=0, yuv2rgb-conversation-mode=2, dither=yes(=1), format-mode = 7 */
247#define RGB15_COMPOSED 0x0213 247#define RGB15_COMPOSED 0x0213
diff --git a/include/media/dvb_frontend.h b/include/media/dvb_frontend.h
index 6f7a85ab3541..f05cd7b94a2c 100644
--- a/include/media/dvb_frontend.h
+++ b/include/media/dvb_frontend.h
@@ -160,7 +160,7 @@ enum dvbfe_algo {
160 * The frontend search for a signal failed 160 * The frontend search for a signal failed
161 * 161 *
162 * @DVBFE_ALGO_SEARCH_INVALID: 162 * @DVBFE_ALGO_SEARCH_INVALID:
163 * The frontend search algorith was probably supplied with invalid 163 * The frontend search algorithm was probably supplied with invalid
164 * parameters and the search is an invalid one 164 * parameters and the search is an invalid one
165 * 165 *
166 * @DVBFE_ALGO_SEARCH_ERROR: 166 * @DVBFE_ALGO_SEARCH_ERROR:
@@ -204,7 +204,7 @@ enum dvbfe_search {
204 * @set_config: callback function used to send some tuner-specific 204 * @set_config: callback function used to send some tuner-specific
205 * parameters. 205 * parameters.
206 * @get_frequency: get the actual tuned frequency 206 * @get_frequency: get the actual tuned frequency
207 * @get_bandwidth: get the bandwitdh used by the low pass filters 207 * @get_bandwidth: get the bandwidth used by the low pass filters
208 * @get_if_frequency: get the Intermediate Frequency, in Hz. For baseband, 208 * @get_if_frequency: get the Intermediate Frequency, in Hz. For baseband,
209 * should return 0. 209 * should return 0.
210 * @get_status: returns the frontend lock status 210 * @get_status: returns the frontend lock status
@@ -232,7 +232,7 @@ struct dvb_tuner_ops {
232 int (*suspend)(struct dvb_frontend *fe); 232 int (*suspend)(struct dvb_frontend *fe);
233 int (*resume)(struct dvb_frontend *fe); 233 int (*resume)(struct dvb_frontend *fe);
234 234
235 /* This is the recomended way to set the tuner */ 235 /* This is the recommended way to set the tuner */
236 int (*set_params)(struct dvb_frontend *fe); 236 int (*set_params)(struct dvb_frontend *fe);
237 int (*set_analog_params)(struct dvb_frontend *fe, struct analog_parameters *p); 237 int (*set_analog_params)(struct dvb_frontend *fe, struct analog_parameters *p);
238 238
@@ -358,7 +358,7 @@ struct dvb_frontend_internal_info {
358 * @release: callback function called when frontend is ready to be 358 * @release: callback function called when frontend is ready to be
359 * freed. 359 * freed.
360 * drivers should free any allocated memory. 360 * drivers should free any allocated memory.
361 * @release_sec: callback function requesting that the Satelite Equipment 361 * @release_sec: callback function requesting that the Satellite Equipment
362 * Control (SEC) driver to release and free any memory 362 * Control (SEC) driver to release and free any memory
363 * allocated by the driver. 363 * allocated by the driver.
364 * @init: callback function used to initialize the tuner device. 364 * @init: callback function used to initialize the tuner device.
diff --git a/include/media/rc-map.h b/include/media/rc-map.h
index e5e86d595645..5e684bb0d64c 100644
--- a/include/media/rc-map.h
+++ b/include/media/rc-map.h
@@ -144,14 +144,14 @@ struct rc_map_list {
144/* Routines from rc-map.c */ 144/* Routines from rc-map.c */
145 145
146/** 146/**
147 * rc_map_register() - Registers a Remote Controler scancode map 147 * rc_map_register() - Registers a Remote Controller scancode map
148 * 148 *
149 * @map: pointer to struct rc_map_list 149 * @map: pointer to struct rc_map_list
150 */ 150 */
151int rc_map_register(struct rc_map_list *map); 151int rc_map_register(struct rc_map_list *map);
152 152
153/** 153/**
154 * rc_map_unregister() - Unregisters a Remote Controler scancode map 154 * rc_map_unregister() - Unregisters a Remote Controller scancode map
155 * 155 *
156 * @map: pointer to struct rc_map_list 156 * @map: pointer to struct rc_map_list
157 */ 157 */
diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h
index d63cf227b0ab..e5cae37ced2d 100644
--- a/include/media/v4l2-ctrls.h
+++ b/include/media/v4l2-ctrls.h
@@ -648,7 +648,7 @@ struct v4l2_ctrl *v4l2_ctrl_new_std_menu_items(struct v4l2_ctrl_handler *hdl,
648 * @def: The control's default value. 648 * @def: The control's default value.
649 * @qmenu_int: The control's menu entries. 649 * @qmenu_int: The control's menu entries.
650 * 650 *
651 * Same as v4l2_ctrl_new_std_menu(), but @mask is set to 0 and it additionaly 651 * Same as v4l2_ctrl_new_std_menu(), but @mask is set to 0 and it additionally
652 * takes as an argument an array of integers determining the menu items. 652 * takes as an argument an array of integers determining the menu items.
653 * 653 *
654 * If @id refers to a non-integer-menu control, then this function will 654 * If @id refers to a non-integer-menu control, then this function will
diff --git a/include/media/v4l2-fwnode.h b/include/media/v4l2-fwnode.h
index 6d9d9f1839ac..6c07825e18b9 100644
--- a/include/media/v4l2-fwnode.h
+++ b/include/media/v4l2-fwnode.h
@@ -143,7 +143,7 @@ struct v4l2_fwnode_link {
143 * @vep.bus_type to V4L2_MBUS_UNKNOWN. The caller may not provide a default 143 * @vep.bus_type to V4L2_MBUS_UNKNOWN. The caller may not provide a default
144 * configuration in this case as the defaults are specific to a given bus type. 144 * configuration in this case as the defaults are specific to a given bus type.
145 * This functionality is deprecated and should not be used in new drivers and it 145 * This functionality is deprecated and should not be used in new drivers and it
146 * is only supported for CSI-2 D-PHY, parallel and Bt.656 busses. 146 * is only supported for CSI-2 D-PHY, parallel and Bt.656 buses.
147 * 147 *
148 * The function does not change the V4L2 fwnode endpoint state if it fails. 148 * The function does not change the V4L2 fwnode endpoint state if it fails.
149 * 149 *
@@ -186,7 +186,7 @@ void v4l2_fwnode_endpoint_free(struct v4l2_fwnode_endpoint *vep);
186 * @vep.bus_type to V4L2_MBUS_UNKNOWN. The caller may not provide a default 186 * @vep.bus_type to V4L2_MBUS_UNKNOWN. The caller may not provide a default
187 * configuration in this case as the defaults are specific to a given bus type. 187 * configuration in this case as the defaults are specific to a given bus type.
188 * This functionality is deprecated and should not be used in new drivers and it 188 * This functionality is deprecated and should not be used in new drivers and it
189 * is only supported for CSI-2 D-PHY, parallel and Bt.656 busses. 189 * is only supported for CSI-2 D-PHY, parallel and Bt.656 buses.
190 * 190 *
191 * The function does not change the V4L2 fwnode endpoint state if it fails. 191 * The function does not change the V4L2 fwnode endpoint state if it fails.
192 * 192 *
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index 34da094a3f40..349e1c18cf48 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -70,7 +70,7 @@ struct v4l2_decode_vbi_line {
70 * device. These devices are usually audio/video muxers/encoders/decoders or 70 * device. These devices are usually audio/video muxers/encoders/decoders or
71 * sensors and webcam controllers. 71 * sensors and webcam controllers.
72 * 72 *
73 * Usually these devices are controlled through an i2c bus, but other busses 73 * Usually these devices are controlled through an i2c bus, but other buses
74 * may also be used. 74 * may also be used.
75 * 75 *
76 * The v4l2_subdev struct provides a way of accessing these devices in a 76 * The v4l2_subdev struct provides a way of accessing these devices in a
diff --git a/include/media/videobuf-core.h b/include/media/videobuf-core.h
index 5684dc6f0d0d..2c4db97cd96f 100644
--- a/include/media/videobuf-core.h
+++ b/include/media/videobuf-core.h
@@ -43,7 +43,7 @@ struct videobuf_queue;
43 * (which v4l2 uses). 43 * (which v4l2 uses).
44 * 44 *
45 * If there is a valid mapping for a buffer, buffer->baddr/bsize holds 45 * If there is a valid mapping for a buffer, buffer->baddr/bsize holds
46 * userspace address + size which can be feeded into the 46 * userspace address + size which can be fed into the
47 * videobuf_dma_init_user function listed above. 47 * videobuf_dma_init_user function listed above.
48 * 48 *
49 */ 49 */
diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h
index a844abcae71e..910f3d469005 100644
--- a/include/media/videobuf2-core.h
+++ b/include/media/videobuf2-core.h
@@ -399,7 +399,7 @@ struct vb2_buffer {
399 * @buf_queue: passes buffer vb to the driver; driver may start 399 * @buf_queue: passes buffer vb to the driver; driver may start
400 * hardware operation on this buffer; driver should give 400 * hardware operation on this buffer; driver should give
401 * the buffer back by calling vb2_buffer_done() function; 401 * the buffer back by calling vb2_buffer_done() function;
402 * it is allways called after calling VIDIOC_STREAMON() 402 * it is always called after calling VIDIOC_STREAMON()
403 * ioctl; might be called before @start_streaming callback 403 * ioctl; might be called before @start_streaming callback
404 * if user pre-queued buffers before calling 404 * if user pre-queued buffers before calling
405 * VIDIOC_STREAMON(). 405 * VIDIOC_STREAMON().