Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+21 -21
+2 -2
include/linux/platform_data/media/si4713.h
··· 31 31 */ 32 32 struct si4713_rnl { 33 33 __u32 index; /* modulator index */ 34 - __u32 frequency; /* frequency to peform rnl measurement */ 34 + __u32 frequency; /* frequency to perform rnl measurement */ 35 35 __s32 rnl; /* result of measurement in dBuV */ 36 36 __u32 reserved[4]; /* drivers and apps must init this to 0 */ 37 37 }; ··· 40 40 * This is the ioctl number to query for rnl. Users must pass a 41 41 * struct si4713_rnl pointer specifying desired frequency in 'frequency' field 42 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 45 #define SI4713_IOC_MEASURE_RNL _IOWR('V', BASE_VIDIOC_PRIVATE + 0, \ 46 46 struct si4713_rnl)
+2 -2
include/media/davinci/dm355_ccdc.h
··· 228 228 /* Threshold of median filter */ 229 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 232 * and lsc 233 233 */ 234 234 struct ccdc_data_offset data_offset; ··· 238 238 struct ccdc_black_clamp blk_clamp; 239 239 /* Structure for Black Compensation */ 240 240 struct ccdc_black_compensation blk_comp; 241 - /* struture for vertical Defect Correction Module Configuration */ 241 + /* structure for vertical Defect Correction Module Configuration */ 242 242 struct ccdc_vertical_dft vertical_dft; 243 243 /* structure for color space converter Module Configuration */ 244 244 struct ccdc_csc csc;
+1 -1
include/media/davinci/dm644x_ccdc.h
··· 152 152 * order in memory(bottom to top) 153 153 */ 154 154 unsigned char image_invert_enable; 155 - /* configurable paramaters */ 155 + /* configurable parameters */ 156 156 struct ccdc_config_params_raw config_params; 157 157 }; 158 158
+1 -1
include/media/drv-intf/exynos-fimc.h
··· 81 81 * v4l2_device notification id. This is only for internal use in the kernel. 82 82 * Sensor subdevs should issue S5P_FIMC_TX_END_NOTIFY notification in single 83 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 86 #define S5P_FIMC_TX_END_NOTIFY _IO('e', 0) 87 87
+1 -1
include/media/drv-intf/saa7146.h
··· 139 139 void *ext_priv; /* pointer for extension private use (most likely some private data) */ 140 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 143 struct saa7146_vv *vv_data; 144 144 void (*vv_callback)(struct saa7146_dev *dev, unsigned long status); 145 145
+2 -2
include/media/drv-intf/saa7146_vv.h
··· 151 151 152 152 struct saa7146_ext_vv 153 153 { 154 - /* informations about the video capabilities of the device */ 154 + /* information about the video capabilities of the device */ 155 155 int inputs; 156 156 int audios; 157 157 u32 capabilities; ··· 241 241 #define SAA7146_CLIPPING_MASK 0x6 242 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 245 #define RGB08_COMPOSED 0x0217 /* composed is used in the sense of "not-planar" */ 246 246 /* this means: planar?=0, yuv2rgb-conversation-mode=2, dither=yes(=1), format-mode = 7 */ 247 247 #define RGB15_COMPOSED 0x0213
+4 -4
include/media/dvb_frontend.h
··· 160 160 * The frontend search for a signal failed 161 161 * 162 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 164 * parameters and the search is an invalid one 165 165 * 166 166 * @DVBFE_ALGO_SEARCH_ERROR: ··· 204 204 * @set_config: callback function used to send some tuner-specific 205 205 * parameters. 206 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 208 * @get_if_frequency: get the Intermediate Frequency, in Hz. For baseband, 209 209 * should return 0. 210 210 * @get_status: returns the frontend lock status ··· 232 232 int (*suspend)(struct dvb_frontend *fe); 233 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 236 int (*set_params)(struct dvb_frontend *fe); 237 237 int (*set_analog_params)(struct dvb_frontend *fe, struct analog_parameters *p); 238 238 ··· 358 358 * @release: callback function called when frontend is ready to be 359 359 * freed. 360 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 362 * Control (SEC) driver to release and free any memory 363 363 * allocated by the driver. 364 364 * @init: callback function used to initialize the tuner device.
+2 -2
include/media/rc-map.h
··· 144 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 149 * @map: pointer to struct rc_map_list 150 150 */ 151 151 int 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 156 * @map: pointer to struct rc_map_list 157 157 */
+1 -1
include/media/v4l2-ctrls.h
··· 648 648 * @def: The control's default value. 649 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 652 * takes as an argument an array of integers determining the menu items. 653 653 * 654 654 * If @id refers to a non-integer-menu control, then this function will
+2 -2
include/media/v4l2-fwnode.h
··· 143 143 * @vep.bus_type to V4L2_MBUS_UNKNOWN. The caller may not provide a default 144 144 * configuration in this case as the defaults are specific to a given bus type. 145 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 148 * The function does not change the V4L2 fwnode endpoint state if it fails. 149 149 * ··· 186 186 * @vep.bus_type to V4L2_MBUS_UNKNOWN. The caller may not provide a default 187 187 * configuration in this case as the defaults are specific to a given bus type. 188 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 191 * The function does not change the V4L2 fwnode endpoint state if it fails. 192 192 *
+1 -1
include/media/v4l2-subdev.h
··· 70 70 * device. These devices are usually audio/video muxers/encoders/decoders or 71 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 74 * may also be used. 75 75 * 76 76 * The v4l2_subdev struct provides a way of accessing these devices in a
+1 -1
include/media/videobuf-core.h
··· 43 43 * (which v4l2 uses). 44 44 * 45 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 47 * videobuf_dma_init_user function listed above. 48 48 * 49 49 */
+1 -1
include/media/videobuf2-core.h
··· 399 399 * @buf_queue: passes buffer vb to the driver; driver may start 400 400 * hardware operation on this buffer; driver should give 401 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 403 * ioctl; might be called before @start_streaming callback 404 404 * if user pre-queued buffers before calling 405 405 * VIDIOC_STREAMON().