media: atomisp: fix spelling mistake
Subsystems (4)
PATCH v3 1/1 media: atomisp: fix spelling mistake
Run codespell on the entire atomisp driver and fix various typos to improve code readability and searchability.
---
changes since v2:
- Fix various typos on the entire atomisp driver.
- Restore false positives and common abbreviations (parm, padd, siz, ot)
v2:
- Changed subject prefix to 'media: atomisp' for Media CI.
--- drivers/staging/media/atomisp/pci/atomisp_cmd.c | 6 +++--- drivers/staging/media/atomisp/pci/atomisp_cmd.h | 2 +- drivers/staging/media/atomisp/pci/atomisp_compat_css20.c | 6 +++--- drivers/staging/media/atomisp/pci/atomisp_compat_css20.h | 2 +- drivers/staging/media/atomisp/pci/atomisp_csi2_bridge.c | 2 +- drivers/staging/media/atomisp/pci/atomisp_tables.h | 4 ++-- .../staging/media/atomisp/pci/base/refcount/src/refcount.c | 2 +- .../pci/css_2401_system/hrt/mipi_backend_common_defs.h | 2 +- .../media/atomisp/pci/css_receiver_2400_common_defs.h | 2 +- .../atomisp/pci/hive_isp_css_common/host/input_formatter.c | 2 +- .../atomisp/pci/hive_isp_css_include/host/debug_public.h | 2 +- .../pci/hive_isp_css_include/host/isys_stream2mmio_public.h | 2 +- .../atomisp/pci/hive_isp_css_include/host/pixelgen_public.h | 2 +- drivers/staging/media/atomisp/pci/hmm/hmm_bo.c | 4 ++-- drivers/staging/media/atomisp/pci/ia_css_event_public.h | 2 +- drivers/staging/media/atomisp/pci/ia_css_isp_configs.c | 2 +- drivers/staging/media/atomisp/pci/ia_css_isp_params.c | 2 +- drivers/staging/media/atomisp/pci/ia_css_isp_params.h | 2 +- drivers/staging/media/atomisp/pci/ia_css_isp_states.c | 2 +- drivers/staging/media/atomisp/pci/ia_css_isp_states.h | 2 +- drivers/staging/media/atomisp/pci/ia_css_pipe_public.h | 2 +- drivers/staging/media/atomisp/pci/ia_css_stream_public.h | 2 +- drivers/staging/media/atomisp/pci/ia_css_types.h | 2 +- .../pci/isp/kernels/bnr/bnr2_2/ia_css_bnr2_2_types.h | 2 +- .../atomisp/pci/isp/kernels/ctc/ctc1_5/ia_css_ctc1_5.host.c | 2 +- .../atomisp/pci/isp/kernels/ctc/ctc2/ia_css_ctc2_types.h | 2 +- .../atomisp/pci/isp/kernels/dvs/dvs_1.0/ia_css_dvs.host.c | 2 +- .../atomisp/pci/isp/kernels/dvs/dvs_1.0/ia_css_dvs.host.h | 3 ++- .../isp/kernels/macc/macc1_5/ia_css_macc1_5_table.host.c | 2 +- .../pci/isp/kernels/macc/macc1_5/ia_css_macc1_5_types.h | 4 ++-- .../pci/isp/kernels/macc/macc_1.0/ia_css_macc_types.h | 6 +++--- .../atomisp/pci/isp/kernels/sc/sc_1.0/ia_css_sc_param.h | 2 +- .../atomisp/pci/isp/kernels/xnr/xnr_3.0/ia_css_xnr3.host.c | 2 +- .../staging/media/atomisp/pci/isp2400_input_system_public.h | 2 +- drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ifmtr.c | 2 +- .../media/atomisp/pci/runtime/inputfifo/src/inputfifo.c | 2 +- drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c | 2 +- .../atomisp/pci/runtime/spctrl/interface/ia_css_spctrl.h | 4 ++-- .../staging/media/atomisp/pci/runtime/spctrl/src/spctrl.c | 2 +- drivers/staging/media/atomisp/pci/sh_css.c | 2 +- drivers/staging/media/atomisp/pci/sh_css_defs.h | 2 +- drivers/staging/media/atomisp/pci/sh_css_mmu.c | 2 +- drivers/staging/media/atomisp/pci/sh_css_params.c | 2 +- drivers/staging/media/atomisp/pci/system_global.h | 6 +++--- 44 files changed, 57 insertions(+), 56 deletions(-)
drivers/staging/media/atomisp/pci/atomisp_cmd.c +3 -3
@@ -811,7 +811,7 @@ void atomisp_buf_done(struct atomisp_sub_device *asd, int error,/* New global dvs 6axis config should be blocked * here if there's a buffer with per-frame parameters * pending in CSS frame buffer queue. -* This is to aviod zooming vibration since global +* This is to avoid zooming vibration since global * parameters take effect immediately while * per-frame parameters are taken after previous * buffers in CSS got processed.
@@ -1575,7 +1575,7 @@ int atomisp_set_dis_vector(struct atomisp_sub_device *asd, }/* -* Function to set/get image stablization statistics +* Function to set/get image stabilization statistics */ int atomisp_get_dis_stat (struct atomisp_sub_device *asd,struct atomisp_dis_statistics *stats)
@@ -3232,7 +3232,7 @@ int atomisp_bad_pixel_param(struct atomisp_sub_device *asd, int flag, }/* -* Function to enable/disable video image stablization +* Function to enable/disable video image stabilization */ int atomisp_video_stable (struct atomisp_sub_device *asd,int flag,__s32 *value)
drivers/staging/media/atomisp/pci/atomisp_cmd.h +1 -1
@@ -153,7 +153,7 @@ int atomisp_bad_pixel(struct atomisp_sub_device *asd, int flag,int atomisp_bad_pixel_param (struct atomisp_sub_device *asd,int flag,struct atomisp_dp_config *config); -/* Function to enable/disable video image stablization */ +/* Function to enable/disable video image stabilization */ int atomisp_video_stable (struct atomisp_sub_device *asd,int flag,__s32 *value);
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c +3 -3
@@ -1957,7 +1957,7 @@ static void __configure_capture_pp_input(struct atomisp_sub_device *asd,/* * For CSS2.1, preview pipe could support bayer downscaling, yuv decimation and -* yuv downscaling, which needs addtional configurations. +* yuv downscaling, which needs additional configurations. */ static void __configure_preview_pp_input(struct atomisp_sub_device *asd, unsigned int width, unsigned int height,
@@ -2085,7 +2085,7 @@ static void __configure_preview_pp_input(struct atomisp_sub_device *asd,/* * For CSS2.1, offline video pipe could support bayer decimation, and -* yuv downscaling, which needs addtional configurations. +* yuv downscaling, which needs additional configurations. */ static void __configure_video_pp_input(struct atomisp_sub_device *asd, unsigned int width, unsigned int height,
@@ -3002,7 +3002,7 @@ int atomisp_css_get_zoom_factor(struct atomisp_sub_device *asd, }/* -* Function to set/get image stablization statistics +* Function to set/get image stabilization statistics */ int atomisp_css_get_dis_stat (struct atomisp_sub_device *asd,struct atomisp_dis_statistics *stats)
drivers/staging/media/atomisp/pci/atomisp_compat_css20.h +1 -1
@@ -40,7 +40,7 @@ enum atomisp_css_stream_state { };/* -* Sensor of external ISP can send multiple steams with different mipi data +* Sensor of external ISP can send multiple streams with different mipi data * type in the same virtual channel. This information needs to come from the * sensor or external ISP */
drivers/staging/media/atomisp/pci/atomisp_csi2_bridge.c +1 -1
@@ -292,7 +292,7 @@ static int atomisp_csi2_get_port(struct acpi_device *adev, int clock_num) }/* -* Alloc and fill an int3472_discrete_device struct so that we can re-use +* Alloc and fill an int3472_discrete_device struct so that we can reuse * the INT3472 sensor GPIO mapping code. * * This gets called from ipu_bridge_init() which runs only once per boot,
drivers/staging/media/atomisp/pci/atomisp_tables.h +2 -2
@@ -93,7 +93,7 @@ static struct ia_css_macc_table skin_high_macc_table = { } }; -/*Blue enhencement image effect table*/ +/*Blue enhancement image effect table*/ static struct ia_css_macc_table blue_macc_table = { .data = {9728 ,-3072 ,0 ,8192 ,
@@ -115,7 +115,7 @@ static struct ia_css_macc_table blue_macc_table = { } }; -/*Green enhencement image effect table*/ +/*Green enhancement image effect table*/ static struct ia_css_macc_table green_macc_table = { .data = {8192 ,0 ,0 ,8192 ,
drivers/staging/media/atomisp/pci/base/refcount/src/refcount.c +1 -1
@@ -15,7 +15,7 @@#include "ia_css_debug.h" -/* TODO: enable for other memory aswell +/* TODO: enable for other memory as well now only for ia_css_ptr */ struct ia_css_refcount_entry {u32 count;
drivers/staging/media/atomisp/pci/css_2401_system/hrt/mipi_backend_common_defs.h +1 -1
@@ -13,7 +13,7 @@#define _HRT_CSS_RECEIVER_2400_GEN_SHORT_CH_ID_WIDTH 2#define _HRT_CSS_RECEIVER_2400_GEN_SHORT_FMT_TYPE_WIDTH 3#define _HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_REAL_WIDTH (_HRT_CSS_RECEIVER_2400_GEN_SHORT_DATA_WIDTH + _HRT_CSS_RECEIVER_2400_GEN_SHORT_CH_ID_WIDTH + _HRT_CSS_RECEIVER_2400_GEN_SHORT_FMT_TYPE_WIDTH) -#define _HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_WIDTH 32/* use 32 to be compatibel with streaming monitor !, MSB's of interface are tied to '0' */ +#define _HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_WIDTH 32/* use 32 to be compatible with streaming monitor !, MSB's of interface are tied to '0' */ /* Definition of data format ID at the interface CSS_receiver capture/acquisition units */ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8 24/* 01 1000 YUV420 8-bit */
drivers/staging/media/atomisp/pci/css_receiver_2400_common_defs.h +1 -1
@@ -13,7 +13,7 @@#define _HRT_CSS_RECEIVER_2400_GEN_SHORT_CH_ID_WIDTH 2#define _HRT_CSS_RECEIVER_2400_GEN_SHORT_FMT_TYPE_WIDTH 3#define _HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_REAL_WIDTH (_HRT_CSS_RECEIVER_2400_GEN_SHORT_DATA_WIDTH + _HRT_CSS_RECEIVER_2400_GEN_SHORT_CH_ID_WIDTH + _HRT_CSS_RECEIVER_2400_GEN_SHORT_FMT_TYPE_WIDTH) -#define _HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_WIDTH 32/* use 32 to be compatibel with streaming monitor !, MSB's of interface are tied to '0' */ +#define _HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_WIDTH 32/* use 32 to be compatible with streaming monitor !, MSB's of interface are tied to '0' */ /* Definition of data format ID at the interface CSS_receiver capture/acquisition units */ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8 24/* 01 1000 YUV420 8-bit */
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_formatter.c +1 -1
@@ -59,7 +59,7 @@ void input_formatter_rst( rst =HIVE_IF_SRST_MASK [ID ];/* TEMPORARY HACK: THIS RESET BREAKS THE METADATA FEATURE -* WICH USES THE STREAM2MEMRY BLOCK. +* WHICH USES THE STREAM2MEMRY BLOCK. * MUST BE FIXED PROPERLY */ if (!HIVE_IF_BIN_COPY [ID ]) {
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/debug_public.h +1 -1
@@ -19,7 +19,7 @@* The buffer has a remote and a local store * which contain duplicate data (when in sync). * The buffers are automatically synched when the -* user dequeues, or manualy using the synch function +* user dequeues, or manually using the synch function * * An alternative (storage efficient) implementation * could manage the buffers to contain unique data
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/isys_stream2mmio_public.h +1 -1
@@ -77,7 +77,7 @@ STORAGE_CLASS_STREAM2MMIO_H void stream2mmio_dump_state( stream2mmio_state_t *state);/** * @brief Store a value to the register. -* Store a value to the registe of the stream2mmio-controller. +* Store a value to the register of the stream2mmio-controller. * * @param[in] ID The global unique ID for the stream2mmio-controller instance. * @param[in] reg The offset address of the register.
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/pixelgen_public.h +1 -1
@@ -53,7 +53,7 @@ STORAGE_CLASS_PIXELGEN_H hrt_data pixelgen_ctrl_reg_load( const hrt_address reg);/** * @brief Store a value to the register. -* Store a value to the registe of the pixelgen +* Store a value to the register of the pixelgen * * @param[in] ID The global unique ID for the pixelgen. * @param[in] reg The offset address of the register.
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c +2 -2
@@ -434,7 +434,7 @@ void hmm_bo_release(struct hmm_buffer_object *bo)/* * FIX ME: * -* how to destroy the bo when it is stilled MMAPED? +* how to destroy the bo when it is stilled MAPPED? * * ideally, this will not happened as hmm_bo_release * will only be called when kref reaches 0, and in mmap
@@ -443,7 +443,7 @@ void hmm_bo_release(struct hmm_buffer_object *bo)*/ if (bo->status &HMM_BO_MMAPED ) {mutex_unlock (&bdev->rbtree_mutex); -dev_dbg (atomisp_dev,"destroy bo which is MMAPED, do nothing\n" ); +dev_dbg (atomisp_dev,"destroy bo which is MAPPED, do nothing\n" );return ; }
drivers/staging/media/atomisp/pci/ia_css_event_public.h +1 -1
@@ -110,7 +110,7 @@ struct ia_css_event {until IA_CSS_MAX_EXPOSURE_ID is reached, after that they wrap around to IA_CSS_MIN_EXPOSURE_ID again. Note that in case frames are dropped, this will not be reflected -in the exposure IDs. Therefor applications should not use this +in the exposure IDs. Therefore applications should not use this to detect frame drops. */ u32 fw_handle;/** Firmware Handle for ACC_STAGE_COMPLETE event (not valid for other
drivers/staging/media/atomisp/pci/ia_css_isp_configs.c +1 -1
@@ -4,7 +4,7 @@* Copyright (c) 2015, Intel Corporation. */ -/* Generated code: do not edit or commmit. */ +/* Generated code: do not edit or commit. */ #define IA_CSS_INCLUDE_CONFIGURATIONS #include "ia_css_pipeline.h"
drivers/staging/media/atomisp/pci/ia_css_isp_params.c +1 -1
@@ -48,7 +48,7 @@#include "isp/kernels/eed1_8/ia_css_eed1_8.host.h" #include "isp/kernels/bnlm/ia_css_bnlm.host.h" #include "isp/kernels/conversion/conversion_1.0/ia_css_conversion.host.h" -/* Generated code: do not edit or commmit. */ +/* Generated code: do not edit or commit. */ #include "ia_css_pipeline.h" #include "ia_css_isp_params.h"
drivers/staging/media/atomisp/pci/ia_css_isp_params.h +1 -1
@@ -4,7 +4,7 @@* Copyright (c) 2015, Intel Corporation. */ -/* Generated code: do not edit or commmit. */ +/* Generated code: do not edit or commit. */ #ifndef _IA_CSS_ISP_PARAM_H#define _IA_CSS_ISP_PARAM_H
drivers/staging/media/atomisp/pci/ia_css_isp_states.c +1 -1
@@ -3,7 +3,7 @@* Support for Intel Camera Imaging ISP subsystem. * Copyright (c) 2015, Intel Corporation. */ -/* Generated code: do not edit or commmit. */ +/* Generated code: do not edit or commit. */ #include "ia_css_pipeline.h" #include "ia_css_isp_states.h"
drivers/staging/media/atomisp/pci/ia_css_isp_states.h +1 -1
@@ -15,7 +15,7 @@#include "isp/kernels/ynr/ynr_1.0/ia_css_ynr.host.h" #include "isp/kernels/dpc2/ia_css_dpc2.host.h" #include "isp/kernels/eed1_8/ia_css_eed1_8.host.h" -/* Generated code: do not edit or commmit. */ +/* Generated code: do not edit or commit. */ #ifndef _IA_CSS_ISP_STATE_H#define _IA_CSS_ISP_STATE_H
drivers/staging/media/atomisp/pci/ia_css_pipe_public.h +1 -1
@@ -413,7 +413,7 @@ ia_css_pipe_get_isp_config(struct ia_css_pipe *pipe,/* @brief Set the scaler lut on this pipe. A copy of lut is made in the inuit * address space. So the LUT can be freed by caller. * @param[in] pipe Pipe handle. -* @param[in] lut Look up tabel +* @param[in] lut Look up table * * @return * 0 : Success
drivers/staging/media/atomisp/pci/ia_css_stream_public.h +1 -1
@@ -225,7 +225,7 @@ ia_css_stream_stop(struct ia_css_stream *stream);bool ia_css_stream_has_stopped (struct ia_css_stream *stream); -/* @brief destroy a stream according to the stream seed previosly saved in the seed array. +/* @brief destroy a stream according to the stream seed previously saved in the seed array. * @param[in] stream The stream. * @return 0 (no other errors are generated now) *
drivers/staging/media/atomisp/pci/ia_css_types.h +1 -1
@@ -390,7 +390,7 @@ struct ia_css_grid_info { .vamem_type = IA_CSS_VAMEM_TYPE_1 \ } -/* Morphing table, used for geometric distortion and chromatic abberration +/* Morphing table, used for geometric distortion and chromatic aberration * correction (GDCAC, also called GDC). * This table describes the imperfections introduced by the lens, the * advanced ISP can correct for these imperfections using this table.
drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr2_2/ia_css_bnr2_2_types.h +1 -1
@@ -55,7 +55,7 @@ struct ia_css_bnr2_2_config {s32 detail_gain_divisor;/** Gain divisor for low contrast texture control */ s32 detail_level_offset;/** Bias value for low contrast texture control */ s32 d_var_th_min;/** Minimum clipping value for directional variance*/ -s32 d_var_th_max;/** Maximum clipping value for diretional variance*/ +s32 d_var_th_max;/** Maximum clipping value for directional variance*/ s32 n_var_th_min;/** Minimum clipping value for non-directional variance*/ s32 n_var_th_max;/** Maximum clipping value for non-directional variance*/ };
drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/ia_css_ctc1_5.host.c +1 -1
@@ -22,7 +22,7 @@ static void ctc_gradient(int dydx_int;int dydx_frc;int sft; -/* max_dydx = the maxinum gradient = the maximum y (gain) */ +/* max_dydx = the maximum gradient = the maximum y (gain) */ int max_dydx = (1 <<IA_CSS_CTC_COEF_SHIFT ) -1 ;if (dx ==0 ) {
drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/ia_css_ctc2_types.h +1 -1
@@ -31,7 +31,7 @@ struct ia_css_ctc2_config {s32 y_x2;s32 y_x3;s32 y_x4; -/* Gains by UV(Chroma) under threholds uv_x0 and uv_x1 +/* Gains by UV(Chroma) under thresholds uv_x0 and uv_x1 * --default/ineffective value: 4096(0.5f) */ s32 uv_y0;
drivers/staging/media/atomisp/pci/isp/kernels/dvs/dvs_1.0/ia_css_dvs.host.c +1 -1
@@ -203,7 +203,7 @@ convert_coords_to_ispparams(// storage format: // Y0 Y1 UV0 Y2 Y3 UV1 -/* if uv_flag equals true increment with 2 incase x is odd, this to +/* if uv_flag equals true increment with 2 in case x is odd, this to skip the uv position. */ if (uv_flag) ptr +=3 ;
drivers/staging/media/atomisp/pci/isp/kernels/dvs/dvs_1.0/ia_css_dvs.host.h +2 -1
@@ -16,7 +16,8 @@#include "ia_css_dvs_param.h" /* For bilinear interpolation, we need to add +1 to input block height calculation. -* For bicubic interpolation, we will need to add +3 instaed */ +* For bicubic interpolation, we will need to add +3 instead +*/ #define DVS_GDC_BLI_INTERP_ENVELOPE 1#define DVS_GDC_BCI_INTERP_ENVELOPE 3
drivers/staging/media/atomisp/pci/isp/kernels/macc/macc1_5/ia_css_macc1_5_table.host.c +1 -1
@@ -10,7 +10,7 @@/* Multi-Axes Color Correction table for ISP2. * 64values = 2x2matrix for 16area, [s1.12] -* ineffective: 16 of "identity 2x2 matix" {4096,0,0,4096} +* ineffective: 16 of "identity 2x2 matrix" {4096,0,0,4096} */ const struct ia_css_macc1_5_table default_macc1_5_table = { {
drivers/staging/media/atomisp/pci/isp/kernels/macc/macc1_5/ia_css_macc1_5_types.h +2 -2
@@ -46,10 +46,10 @@*/ struct ia_css_macc1_5_table {s16 data[IA_CSS_MACC_NUM_COEFS *IA_CSS_MACC_NUM_AXES ]; -/** 16 of 2x2 matix +/** 16 of 2x2 matrix MACC1_5: s[macc_config.exp].[13-macc_config.exp], [-8192,8191] default/ineffective: (s1.12) -16 of "identity 2x2 matix" {4096,0,0,4096} */ +16 of "identity 2x2 matrix" {4096,0,0,4096} */ };/* Multi-Axes Color Correction (MACC) configuration.
drivers/staging/media/atomisp/pci/isp/kernels/macc/macc_1.0/ia_css_macc_types.h +3 -3
@@ -43,13 +43,13 @@struct ia_css_macc_table {s16 data[IA_CSS_MACC_NUM_COEFS *IA_CSS_MACC_NUM_AXES ]; -/** 16 of 2x2 matix +/** 16 of 2x2 matrix MACC1: s2.13, [-65536,65535] default/ineffective: -16 of "identity 2x2 matix" {8192,0,0,8192} +16 of "identity 2x2 matrix" {8192,0,0,8192} MACC2: s[macc_config.exp].[13-macc_config.exp], [-8192,8191] default/ineffective: (s1.12) -16 of "identity 2x2 matix" {4096,0,0,4096} */ +16 of "identity 2x2 matrix" {4096,0,0,4096} */ };#endif /* __IA_CSS_MACC_TYPES_H */
drivers/staging/media/atomisp/pci/isp/kernels/sc/sc_1.0/ia_css_sc_param.h +1 -1
@@ -9,7 +9,7 @@#include "type_support.h" -/* SC (Shading Corrction) */ +/* SC (Shading Correction) */ struct sh_css_isp_sc_params {s32 gain_shift; };
drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ia_css_xnr3.host.c +1 -1
@@ -210,7 +210,7 @@ ia_css_xnr3_vmem_encode(assert (x[j] > x[j -1 ]); } -/* The implementation of the calulating 1/x is based on the availability +/* The implementation of the calculating 1/x is based on the availability * of the OP_vec_shuffle16 operation. * A 64 element vector is split up in 4 blocks of 16 element. Each array is copied to * a vector 4 times, (starting at 0, 16, 32 and 48). All array elements are copied or
drivers/staging/media/atomisp/pci/isp2400_input_system_public.h +1 -1
@@ -216,7 +216,7 @@ input_system_err_t input_system_configuration_commit(void);// User functions: // (encoded generic function) // - no checking -// - decoding name and agruments into the generic (channel) configuration +// - decoding name and arguments into the generic (channel) configuration // function. // ///////////////////////////////////////////////////////////////////////////
drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ifmtr.c +1 -1
@@ -460,7 +460,7 @@ static void ifmtr_set_if_blocking_mode( block[INPUT_FORMATTER1_ID ] = (bool )config_b->block_no_reqs;/* TODO: next could cause issues when streams are started after -* eachother. */ +* each other. */ /*IF should not be reconfigured/reset from host */ if (ifmtr_set_if_blocking_mode_reset) { ifmtr_set_if_blocking_mode_reset = false;
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c +1 -1
@@ -340,7 +340,7 @@ inputfifo_send_line(const unsigned short *data,* (2). * * This function does not do any reordering of pixels, the caller must make -* sure the data is in the righ format. Please refer to the CSS receiver +* sure the data is in the right format. Please refer to the CSS receiver * documentation for details on the data formats. */
drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c +1 -1
@@ -589,7 +589,7 @@ void ia_css_isys_rx_configure(const rx_cfg_t *config,HIVE_ISYS_GPREG_MULTICAST_A_IDX + (unsigned int )port, INPUT_SYSTEM_CSI_BACKEND); -/* MW: Like the integration test example we overwite, +/* MW: Like the integration test example we overwrite, * the GPREG_MUX register */ input_system_sub_system_reg_store(INPUT_SYSTEM0_ID, GPREGS_UNIT0_ID,
drivers/staging/media/atomisp/pci/runtime/spctrl/interface/ia_css_spctrl.h +2 -2
@@ -12,7 +12,7 @@#include "ia_css_spctrl_comm.h" typedef struct { - u32 ddr_data_offset; /** posistion of data in DDR */ + u32 ddr_data_offset; /** position of data in DDR */ u32 dmem_data_addr; /** data segment address in dmem */ u32 dmem_bss_addr; /** bss segment address in dmem */ u32 data_size; /** data segment size */
@@ -28,7 +28,7 @@ typedef struct {/* Get the code addr in DDR of SP */ ia_css_ptr get_sp_code_addr (sp_ID_t sp_id); -/* ! Load firmware on to specfied SP +/* ! Load firmware on to specified SP */ int ia_css_spctrl_load_fw (sp_ID_t sp_id,ia_css_spctrl_cfg *spctrl_cfg);
drivers/staging/media/atomisp/pci/runtime/spctrl/src/spctrl.c +1 -1
@@ -159,7 +159,7 @@ ia_css_spctrl_sp_sw_state ia_css_spctrl_get_state(sp_ID_t sp_id)return IA_CSS_SP_SW_TERMINATED ; HIVE_ADDR_sp_sw_state = spctrl_cofig_info[sp_id].spctrl_state_dmem_addr; - (void )HIVE_ADDR_sp_sw_state;/* Suppres warnings in CRUN */ + (void )HIVE_ADDR_sp_sw_state;/* Suppress warnings in CRUN */ if (sp_id ==SP0_ID ) state =sp_dmem_load_uint32 (sp_id, (unsigned int )sp_address_of (sp_sw_state));return state;
drivers/staging/media/atomisp/pci/sh_css.c +1 -1
@@ -5084,7 +5084,7 @@ static int load_primary_binaries(/* * TODO: All this yuv_scaler and capturepp calculation logic * can be shared later. Capture_pp is also a yuv_scale binary -* with extra XNR funcionality. Therefore, it can be made as the +* with extra XNR functionality. Therefore, it can be made as the * first step of the cascade. */ capt_pp_out_info = pipe->out_yuv_ds_input_info;
drivers/staging/media/atomisp/pci/sh_css_defs.h +1 -1
@@ -66,7 +66,7 @@/* Following macros should match with the type enum ia_css_pipe_version in * ia_css_pipe_public.h. The reason to add these macros is that enum type -* will be evaluted to 0 in preprocessing time. */ +* will be evaluated to 0 in preprocessing time. */ #define SH_CSS_ISP_PIPE_VERSION_1 1#define SH_CSS_ISP_PIPE_VERSION_2_2 2#define SH_CSS_ISP_PIPE_VERSION_2_6_1 3
drivers/staging/media/atomisp/pci/sh_css_mmu.c +1 -1
@@ -25,7 +25,7 @@ ia_css_mmu_invalidate_cache(void)if (sh_css_sp_is_running ()) { HIVE_ADDR_ia_css_dmaproxy_sp_invalidate_tlb = fw->info.sp.invalidate_tlb; - (void )HIVE_ADDR_ia_css_dmaproxy_sp_invalidate_tlb;/* Suppres warnings in CRUN */ + (void )HIVE_ADDR_ia_css_dmaproxy_sp_invalidate_tlb;/* Suppress warnings in CRUN */ sp_dmem_store_uint32(SP0_ID, (unsigned int)sp_address_of(ia_css_dmaproxy_sp_invalidate_tlb),
drivers/staging/media/atomisp/pci/sh_css_params.c +1 -1
@@ -752,7 +752,7 @@ sh_css_params_ddr_address_map(void)/* **************************************************** * Each coefficient is stored as 7bits to fit 2 of them into one -* ISP vector element, so we will store 4 coefficents on every +* ISP vector element, so we will store 4 coefficients on every * memory word (32bits) * * 0: Coefficient 0 used bits
drivers/staging/media/atomisp/pci/system_global.h +3 -3
@@ -22,14 +22,14 @@* lists (C) or the use of classes (C++), but that is presently not * fully supported * -* N.B. the 3 input formatters are of 2 different classess +* N.B. the 3 input formatters are of 2 different classes */ #define DMA_DDR_TO_VAMEM_WORKAROUND #define DMA_DDR_TO_HMEM_WORKAROUND /* -* The longest allowed (uninteruptible) bus transfer, does not +* The longest allowed (uninterruptible) bus transfer, does not * take stalling into account */ #define HIVE_ISP_MAX_BURST_LENGTH 1024
@@ -294,7 +294,7 @@ typedef enum {/* end of Stream2MMIO */ /** -* Input System 2401: CSI-MIPI recevier. +* Input System 2401: CSI-MIPI receiver. */ typedef enum { CSI_RX_BACKEND0_ID = 0, /* map to ISYS2401_MIPI_BE_A */
Signature · 1 line
2.43.0
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c void hmm_bo_release(struct hmm_buffer_object *bo) · line 437
Quoted 10 lines · Mohammed EL Kadiri
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c +1
-1@@ -434,7 +434,7 @@ void hmm_bo_release(struct hmm_buffer_object *bo)/* * FIX ME: * -* how to destroy the bo when it is stilled MMAPED? +* how to destroy the bo when it is stilled MAPPED?
MMAPPED was correct. It means memory mapped.
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c void hmm_bo_release(struct hmm_buffer_object *bo) · line 446
Quoted 9 lines
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c +1
-1* * ideally, this will not happened as hmm_bo_release * will only be called when kref reaches 0, and in mmap @@ -443,7 +443,7 @@ void hmm_bo_release(struct hmm_buffer_object *bo)*/ if (bo->status &HMM_BO_MMAPED ) {mutex_unlock (&bdev->rbtree_mutex); -dev_dbg (atomisp_dev,"destroy bo which is MMAPED, do nothing\n" ); +dev_dbg (atomisp_dev,"destroy bo which is MAPPED, do nothing\n" );
Same.
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c void hmm_bo_release(struct hmm_buffer_object *bo) · line 449
Quoted 3 lines
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c +0
-0return ; }
(always wait a day between resending a patch in case other people have feedback).
regards,
dan carpenter
Quoted 1 line · Dan Carpenter
On Mon, Mar 23, 2026 at 03:11:43PM +0100, Mohammed EL Kadiri wrote:
...
Quoted 4 lines
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c void hmm_bo_release(struct hmm_buffer_object *bo) · line 437
Quoted 2 lines
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c +1
-1-* how to destroy the bo when it is stilled MMAPED? +* how to destroy the bo when it is stilled MAPPED? MMAPPED was correct. It means memory mapped.
Probably still needs a double P?
But taking into account FIXME there, I would expect the real patch to fix the thing.
...
Sakari, perhaps we need to stop this activity, tons of patches without real progress just waste our time... Note, for fbtft I have updated its README to mention what kind of patches are accepted.
Signature · 2 lines
With Best Regards, Andy Shevchenko