From 4636a85cff86b2c014752c6b8fece018558b0d08 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 19 Apr 2020 14:38:57 +0200 Subject: [PATCH] media: atomisp: fix several typos Running checkpatch.pl codespell logic found several typos at atomisp driver. Fix them using --fix-inline. Signed-off-by: Mauro Carvalho Chehab --- .../staging/media/atomisp/i2c/atomisp-gc0310.c | 2 +- drivers/staging/media/atomisp/i2c/gc0310.h | 2 +- drivers/staging/media/atomisp/i2c/mt9m114.h | 4 ++-- .../media/atomisp/pci/atomisp2/atomisp_cmd.c | 2 +- .../atomisp/pci/atomisp2/atomisp_compat_css20.c | 2 +- .../media/atomisp/pci/atomisp2/atomisp_csi2.c | 2 +- .../media/atomisp/pci/atomisp2/atomisp_fops.c | 2 +- .../atomisp/pci/atomisp2/atomisp_internal.h | 2 +- .../media/atomisp/pci/atomisp2/atomisp_ioctl.c | 4 ++-- .../media/atomisp/pci/atomisp2/atomisp_subdev.c | 2 +- .../base/circbuf/interface/ia_css_circbuf.h | 2 +- .../hrt/css_receiver_2400_common_defs.h | 2 +- .../hrt/PixelGen_SysBlock_defs.h | 2 +- .../hrt/css_receiver_2400_common_defs.h | 2 +- .../hrt/mipi_backend_common_defs.h | 2 +- .../css_2401_csi2p_system/isys_dma_global.h | 8 ++++---- .../css_2401_csi2p_system/system_global.h | 2 +- .../hrt/css_receiver_2400_common_defs.h | 2 +- .../css2400/hive_isp_css_common/system_global.h | 2 +- .../hive_isp_css_include/assert_support.h | 2 +- .../hive_isp_css_include/host/csi_rx_public.h | 8 ++++---- .../hive_isp_css_include/host/ibuf_ctrl_public.h | 4 ++-- .../host/isys_stream2mmio_public.h | 4 ++-- .../hive_isp_css_include/host/pixelgen_public.h | 4 ++-- .../memory_access/memory_access.h | 2 +- .../atomisp/pci/atomisp2/css2400/ia_css_err.h | 4 ++-- .../pci/atomisp2/css2400/ia_css_pipe_public.h | 2 +- .../pci/atomisp2/css2400/ia_css_stream_public.h | 2 +- .../isp/kernels/ctc/ctc2/ia_css_ctc2.host.c | 6 +++--- .../css2400/isp/kernels/hdr/ia_css_hdr_types.h | 12 ++++++------ .../atomisp2/css2400/runtime/binary/src/binary.c | 2 +- .../css2400/runtime/bufq/interface/ia_css_bufq.h | 2 +- .../css2400/runtime/debug/src/ia_css_debug.c | 4 ++-- .../atomisp2/css2400/runtime/frame/src/frame.c | 2 +- .../runtime/pipeline/interface/ia_css_pipeline.h | 2 +- .../media/atomisp/pci/atomisp2/css2400/sh_css.c | 2 +- .../pci/atomisp2/css2400/sh_css_internal.h | 16 ++++++++-------- .../atomisp/pci/atomisp2/css2400/sh_css_params.c | 2 +- .../atomisp/pci/atomisp2/css2400/sh_css_sp.c | 4 ++-- .../media/atomisp/pci/atomisp2/hmm/hmm_bo.c | 2 +- .../atomisp/pci/atomisp2/include/mmu/isp_mmu.h | 2 +- .../media/atomisp/pci/atomisp2/mmu/isp_mmu.c | 6 +++--- 42 files changed, 72 insertions(+), 72 deletions(-) diff --git a/drivers/staging/media/atomisp/i2c/atomisp-gc0310.c b/drivers/staging/media/atomisp/i2c/atomisp-gc0310.c index 3b38cbccf294..f2991fbcb1d6 100644 --- a/drivers/staging/media/atomisp/i2c/atomisp-gc0310.c +++ b/drivers/staging/media/atomisp/i2c/atomisp-gc0310.c @@ -717,7 +717,7 @@ static int gc0310_init(struct v4l2_subdev *sd) pr_info("%s S\n", __func__); mutex_lock(&dev->input_lock); - /* set inital registers */ + /* set initial registers */ ret = gc0310_write_reg_array(client, gc0310_reset_register); /* restore settings */ diff --git a/drivers/staging/media/atomisp/i2c/gc0310.h b/drivers/staging/media/atomisp/i2c/gc0310.h index 70c252c5163c..0743b3b2ea66 100644 --- a/drivers/staging/media/atomisp/i2c/gc0310.h +++ b/drivers/staging/media/atomisp/i2c/gc0310.h @@ -343,7 +343,7 @@ static const struct gc0310_reg gc0310_reset_register[] = { ///////////////////////////////////////////////// {GC0310_8BIT, 0xfe, 0x01}, {GC0310_8BIT, 0x45, 0xa4}, // 0xf7 - {GC0310_8BIT, 0x46, 0xf0}, // 0xff //f0//sun vaule th + {GC0310_8BIT, 0x46, 0xf0}, // 0xff //f0//sun value th {GC0310_8BIT, 0x48, 0x03}, //sun mode {GC0310_8BIT, 0x4f, 0x60}, //sun_clamp {GC0310_8BIT, 0xfe, 0x00}, diff --git a/drivers/staging/media/atomisp/i2c/mt9m114.h b/drivers/staging/media/atomisp/i2c/mt9m114.h index de39cc141308..c317214122dc 100644 --- a/drivers/staging/media/atomisp/i2c/mt9m114.h +++ b/drivers/staging/media/atomisp/i2c/mt9m114.h @@ -275,10 +275,10 @@ struct mt9m114_device { unsigned int agc; unsigned int awb; unsigned int aec; - /* extention SENSOR version 2 */ + /* extension SENSOR version 2 */ unsigned int cie_profile; - /* extention SENSOR version 3 */ + /* extension SENSOR version 3 */ unsigned int flicker_freq; /* extension SENSOR version 4 */ diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c index 8aa5a3019e45..275b8dba5bdb 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c @@ -4261,7 +4261,7 @@ int atomisp_set_parameters(struct video_device *vdev, #endif if (arg->per_frame_setting && !atomisp_is_vf_pipe(pipe)) { /* - * Per-frame setting enabled, we allocate a new paramter + * Per-frame setting enabled, we allocate a new parameter * buffer to cache the parameters and only when frame buffers * are ready, the parameters will be set to CSS. * per-frame setting only works for the main output frame. diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c index df88d9df2027..7d202db04808 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c @@ -2574,7 +2574,7 @@ static void __configure_preview_pp_input(struct atomisp_sub_device *asd, * * Rule for Bayer Downscaling: support factor 2, 1.5 and 1.25 * Rule for YUV Decimation: support factor 2, 4 - * Rule for YUV Downscaling: arbitary value below 2 + * Rule for YUV Downscaling: arbitrary value below 2 * * General rule of factor distribution among these stages: * 1: try to do Bayer downscaling first if not in online mode. diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_csi2.c b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_csi2.c index fa03b78c3580..760b29ec546c 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_csi2.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_csi2.c @@ -67,7 +67,7 @@ static int csi2_enum_mbus_code(struct v4l2_subdev *sd, * @fh : V4L2 subdev file handle * @pad: pad num * @fmt: pointer to v4l2 format structure - * return -EINVAL or zero on sucess + * return -EINVAL or zero on success */ static int csi2_get_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c index 693b905547e4..09b47edc690b 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c @@ -270,7 +270,7 @@ int atomisp_q_video_buffers_to_css(struct atomisp_sub_device *asd, * Because the camera halv3 can't ensure to set zoom * region to per_frame setting and global setting at * same time and only set zoom region to pre_frame - * setting now.so when the pre_frame setting inculde + * setting now.so when the pre_frame setting include * zoom region,I will set it to global setting. */ if (param->params.update_flag.dz_config && diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_internal.h b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_internal.h index dc476a3dd271..a2a15725cd48 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_internal.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_internal.h @@ -239,7 +239,7 @@ struct atomisp_device { */ struct atomisp_sub_device *asd; /* - * this will be assiged dyanamically. + * this will be assigned dyanamically. * For Merr/BTY(ISP2400), 2 streams are supported. */ unsigned int num_of_streams; diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_ioctl.c b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_ioctl.c index 8c67aea67b6b..712408eee3e6 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_ioctl.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_ioctl.c @@ -2492,7 +2492,7 @@ static int atomisp_g_ext_ctrls(struct file *file, void *fh, struct v4l2_control ctrl; int i, ret = 0; - /* input_lock is not need for the Camera releated IOCTLs + /* input_lock is not need for the Camera related IOCTLs * The input_lock downgrade the FPS of 3A*/ ret = atomisp_camera_g_ext_ctrls(file, fh, c); if (ret != -EINVAL) @@ -2618,7 +2618,7 @@ static int atomisp_s_ext_ctrls(struct file *file, void *fh, struct v4l2_control ctrl; int i, ret = 0; - /* input_lock is not need for the Camera releated IOCTLs + /* input_lock is not need for the Camera related IOCTLs * The input_lock downgrade the FPS of 3A*/ ret = atomisp_camera_s_ext_ctrls(file, fh, c); if (ret != -EINVAL) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c index 49a9973b4289..673b9a25f601 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c @@ -1002,7 +1002,7 @@ static const struct v4l2_ctrl_config ctrl_enable_raw_buffer_lock = { /* * Control to disable digital zoom of the whole stream * - * When it is true, pipe configuation enable_dz will be set to false. + * When it is true, pipe configuration enable_dz will be set to false. * This can help get a better performance by disabling pp binary. * * Note: Make sure set this configuration before creating stream. diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/base/circbuf/interface/ia_css_circbuf.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/base/circbuf/interface/ia_css_circbuf.h index 914aa7f98700..564be8ea751d 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/base/circbuf/interface/ia_css_circbuf.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/base/circbuf/interface/ia_css_circbuf.h @@ -365,7 +365,7 @@ extern uint32_t ia_css_circbuf_peek_from_start( * but new elements should be added at the end to existing * cb element array which if of max_size >= new size * - * @return true on succesfully increasing the size + * @return true on successfully increasing the size * false on failure */ extern bool ia_css_circbuf_increase_size( diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2400_system/hrt/css_receiver_2400_common_defs.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2400_system/hrt/css_receiver_2400_common_defs.h index f3054fe04d03..89ff5313065f 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2400_system/hrt/css_receiver_2400_common_defs.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2400_system/hrt/css_receiver_2400_common_defs.h @@ -63,7 +63,7 @@ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_GEN_SH8 15 /* 00 1111 Generic Short Packet Code 8 */ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8_CSPS 28 /* 01 1100 YUV420 8-bit (Chroma Shifted Pixel Sampling) */ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_10_CSPS 29 /* 01 1101 YUV420 10-bit (Chroma Shifted Pixel Sampling) */ -/* used reseved mipi positions for these */ +/* used reserved mipi positions for these */ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_RAW16 46 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_RAW18 47 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_RAW18_2 37 diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hrt/PixelGen_SysBlock_defs.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hrt/PixelGen_SysBlock_defs.h index 1b3391c242a3..b5be610c5059 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hrt/PixelGen_SysBlock_defs.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hrt/PixelGen_SysBlock_defs.h @@ -68,7 +68,7 @@ /* */ #define _PXG_SYNG_PAUSE_CYCLES 0 /* Subblock ID's */ -#define _PXG_DISBALE_IDX 0 +#define _PXG_DISABLE_IDX 0 #define _PXG_PRBS_IDX 0 #define _PXG_TPG_IDX 1 #define _PXG_SYNG_IDX 2 diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hrt/css_receiver_2400_common_defs.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hrt/css_receiver_2400_common_defs.h index f3054fe04d03..89ff5313065f 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hrt/css_receiver_2400_common_defs.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hrt/css_receiver_2400_common_defs.h @@ -63,7 +63,7 @@ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_GEN_SH8 15 /* 00 1111 Generic Short Packet Code 8 */ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8_CSPS 28 /* 01 1100 YUV420 8-bit (Chroma Shifted Pixel Sampling) */ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_10_CSPS 29 /* 01 1101 YUV420 10-bit (Chroma Shifted Pixel Sampling) */ -/* used reseved mipi positions for these */ +/* used reserved mipi positions for these */ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_RAW16 46 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_RAW18 47 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_RAW18_2 37 diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hrt/mipi_backend_common_defs.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hrt/mipi_backend_common_defs.h index 76705d7a2b44..67f68f1a65d7 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hrt/mipi_backend_common_defs.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hrt/mipi_backend_common_defs.h @@ -63,7 +63,7 @@ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_GEN_SH8 15 /* 00 1111 Generic Short Packet Code 8 */ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8_CSPS 28 /* 01 1100 YUV420 8-bit (Chroma Shifted Pixel Sampling) */ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_10_CSPS 29 /* 01 1101 YUV420 10-bit (Chroma Shifted Pixel Sampling) */ -/* used reseved mipi positions for these */ +/* used reserved mipi positions for these */ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_RAW16 46 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_RAW18 47 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_RAW18_2 37 diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/isys_dma_global.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/isys_dma_global.h index 1be5c6956d65..e0be59ccb821 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/isys_dma_global.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/isys_dma_global.h @@ -32,8 +32,8 @@ * The DMA port definition for the input system * 2401 DMA is the duplication of the DMA port * definition for the CSS system DMA. It is duplicated - * here just as the temporal step before the device libary - * is available. The device libary is suppose to provide + * here just as the temporal step before the device library + * is available. The device library is suppose to provide * the capability of reusing the control interface of the * same device prototypes. The refactor team will work on * this, right? @@ -55,8 +55,8 @@ struct isys2401_dma_port_cfg_s { * The DMA device definition for the input system * 2401 DMA is the duplicattion of the DMA device * definition for the CSS system DMA. It is duplicated - * here just as the temporal step before the device libary - * is available. The device libary is suppose to provide + * here just as the temporal step before the device library + * is available. The device library is suppose to provide * the capability of reusing the control interface of the * same device prototypes. The refactor team will work on * this, right? diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/system_global.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/system_global.h index 7907f0ff6d6c..8d6592728933 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/system_global.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/system_global.h @@ -451,7 +451,7 @@ enum ia_css_isp_memories { N_IA_CSS_MEMORIES }; #define IA_CSS_NUM_MEMORIES 9 -/* For driver compatability */ +/* For driver compatibility */ #define N_IA_CSS_ISP_MEMORIES IA_CSS_NUM_MEMORIES #define IA_CSS_NUM_ISP_MEMORIES IA_CSS_NUM_MEMORIES diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_system/hrt/css_receiver_2400_common_defs.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_system/hrt/css_receiver_2400_common_defs.h index f3054fe04d03..89ff5313065f 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_system/hrt/css_receiver_2400_common_defs.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_system/hrt/css_receiver_2400_common_defs.h @@ -63,7 +63,7 @@ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_GEN_SH8 15 /* 00 1111 Generic Short Packet Code 8 */ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8_CSPS 28 /* 01 1100 YUV420 8-bit (Chroma Shifted Pixel Sampling) */ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_10_CSPS 29 /* 01 1101 YUV420 10-bit (Chroma Shifted Pixel Sampling) */ -/* used reseved mipi positions for these */ +/* used reserved mipi positions for these */ #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_RAW16 46 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_RAW18 47 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_RAW18_2 37 diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/system_global.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/system_global.h index 6f63962a54e8..9f1c2beefc85 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/system_global.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/system_global.h @@ -317,7 +317,7 @@ enum ia_css_isp_memories { N_IA_CSS_MEMORIES }; #define IA_CSS_NUM_MEMORIES 9 -/* For driver compatability */ +/* For driver compatibility */ #define N_IA_CSS_ISP_MEMORIES IA_CSS_NUM_MEMORIES #define IA_CSS_NUM_ISP_MEMORIES IA_CSS_NUM_MEMORIES diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/assert_support.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/assert_support.h index fd0d92e87c36..7dac8dd93f00 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/assert_support.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/assert_support.h @@ -88,7 +88,7 @@ #ifndef PIPE_GENERATION /* Deprecated OP___assert, this is still used in ~1000 places * in the code. This will be removed over time. - * The implemenation for the pipe generation tool is in see support.isp.h */ + * The implementation for the pipe generation tool is in see support.isp.h */ #define OP___assert(cnd) assert(cnd) static inline void compile_time_assert (unsigned cond) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/csi_rx_public.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/csi_rx_public.h index 426d022d3a26..45b316abb674 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/csi_rx_public.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/csi_rx_public.h @@ -85,7 +85,7 @@ extern void csi_rx_be_ctrl_dump_state( * Load the value of the register of the csi rx fe. * * @param[in] ID The global unique ID for the ibuf-controller instance. - * @param[in] reg The offet address of the register. + * @param[in] reg The offset address of the register. * * @return the value of the register. */ @@ -97,7 +97,7 @@ extern hrt_data csi_rx_fe_ctrl_reg_load( * Store a value to the registe of the csi rx fe. * * @param[in] ID The global unique ID for the ibuf-controller instance. - * @param[in] reg The offet address of the register. + * @param[in] reg The offset address of the register. * @param[in] value The value to be stored. * */ @@ -110,7 +110,7 @@ extern void csi_rx_fe_ctrl_reg_store( * Load the value of the register of the csirx be. * * @param[in] ID The global unique ID for the ibuf-controller instance. - * @param[in] reg The offet address of the register. + * @param[in] reg The offset address of the register. * * @return the value of the register. */ @@ -122,7 +122,7 @@ extern hrt_data csi_rx_be_ctrl_reg_load( * Store a value to the registe of the csi rx be. * * @param[in] ID The global unique ID for the ibuf-controller instance. - * @param[in] reg The offet address of the register. + * @param[in] reg The offset address of the register. * @param[in] value The value to be stored. * */ diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/ibuf_ctrl_public.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/ibuf_ctrl_public.h index 98ee9947fb8e..274ceaf4b050 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/ibuf_ctrl_public.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/ibuf_ctrl_public.h @@ -66,7 +66,7 @@ STORAGE_CLASS_IBUF_CTRL_H void ibuf_ctrl_dump_state( * Load the value of the register of the ibuf-controller. * * @param[in] ID The global unique ID for the ibuf-controller instance. - * @param[in] reg The offet address of the register. + * @param[in] reg The offset address of the register. * * @return the value of the register. */ @@ -79,7 +79,7 @@ STORAGE_CLASS_IBUF_CTRL_H hrt_data ibuf_ctrl_reg_load( * Store a value to the registe of the ibuf-controller. * * @param[in] ID The global unique ID for the ibuf-controller instance. - * @param[in] reg The offet address of the register. + * @param[in] reg The offset address of the register. * @param[in] value The value to be stored. * */ diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/isys_stream2mmio_public.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/isys_stream2mmio_public.h index 6c53ca9df96c..f7982e8078cc 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/isys_stream2mmio_public.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/isys_stream2mmio_public.h @@ -56,7 +56,7 @@ STORAGE_CLASS_STREAM2MMIO_H void stream2mmio_get_sid_state( * * @param[in] ID The global unique ID for the stream2mmio-controller instance. * @param[in] sid_id The SID in question. - * @param[in] reg_idx The offet address of the register. + * @param[in] reg_idx The offset address of the register. * * @return the value of the register. */ @@ -88,7 +88,7 @@ STORAGE_CLASS_STREAM2MMIO_H void stream2mmio_dump_state( * Store a value to the registe of the stream2mmio-controller. * * @param[in] ID The global unique ID for the stream2mmio-controller instance. - * @param[in] reg The offet address of the register. + * @param[in] reg The offset address of the register. * @param[in] value The value to be stored. * */ diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/pixelgen_public.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/pixelgen_public.h index f597e07d7c4f..411ae2272557 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/pixelgen_public.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/pixelgen_public.h @@ -53,7 +53,7 @@ STORAGE_CLASS_PIXELGEN_H void pixelgen_ctrl_dump_state( * Load the value of the register of the pixelgen * * @param[in] ID The global unique ID for the pixelgen instance. - * @param[in] reg The offet address of the register. + * @param[in] reg The offset address of the register. * * @return the value of the register. */ @@ -65,7 +65,7 @@ STORAGE_CLASS_PIXELGEN_H hrt_data pixelgen_ctrl_reg_load( * Store a value to the registe of the pixelgen * * @param[in] ID The global unique ID for the pixelgen. - * @param[in] reg The offet address of the register. + * @param[in] reg The offset address of the register. * @param[in] value The value to be stored. * */ diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/memory_access/memory_access.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/memory_access/memory_access.h index d2387812f3a6..f06d52533531 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/memory_access/memory_access.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/memory_access/memory_access.h @@ -128,7 +128,7 @@ extern hrt_vaddress mmgr_alloc_attr(const size_t size, const uint16_t attribute) \param attribute[in] Bit vector specifying the properties of the allocation \param context Pointer of a context provided by - client/driver for additonal parameters + client/driver for additional parameters needed by the implementation \Note This interface is tentative, limited to the desired function diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_err.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_err.h index cf895815ea31..375952a7782e 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_err.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_err.h @@ -47,9 +47,9 @@ enum ia_css_err { enum ia_css_fw_warning { IA_CSS_FW_WARNING_NONE, IA_CSS_FW_WARNING_ISYS_QUEUE_FULL, /* < CSS system delayed because of insufficient space in the ISys queue. - This warning can be avoided by de-queing ISYS buffers more timely. */ + This warning can be avoided by de-queuing ISYS buffers more timely. */ IA_CSS_FW_WARNING_PSYS_QUEUE_FULL, /* < CSS system delayed because of insufficient space in the PSys queue. - This warning can be avoided by de-queing PSYS buffers more timely. */ + This warning can be avoided by de-queuing PSYS buffers more timely. */ IA_CSS_FW_WARNING_CIRCBUF_ALL_LOCKED, /* < CSS system delayed because of insufficient available buffers. This warning can be avoided by unlocking locked frame-buffers more timely. */ IA_CSS_FW_WARNING_EXP_ID_LOCKED, /* < Exposure ID skipped because the frame associated to it was still locked. diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_pipe_public.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_pipe_public.h index 11225d5ac442..29bb7c01da38 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_pipe_public.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_pipe_public.h @@ -308,7 +308,7 @@ ia_css_pipe_set_isp_config(struct ia_css_pipe *pipe, * @param[in] and_mask Binary or of enum ia_css_event_irq_mask_type. An event IRQ for the Host is only raised after all pipe related events have occurred at least once for all the active - pipes. Events are remembered and don't need to occure + pipes. Events are remembered and don't need to occurred at the same moment in time. There is no control over the order of these events. Once an IRQ has been raised all remembered events are reset. diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_stream_public.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_stream_public.h index ddefad330db7..3d1c5a8f879b 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_stream_public.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_stream_public.h @@ -125,7 +125,7 @@ struct ia_css_stream_config { bool pack_raw_pixels; /** Pack pixels in the raw buffers */ bool continuous; /** Use SP copy feature to continuously capture frames to system memory and run pipes in offline mode */ - bool disable_cont_viewfinder; /** disable continous viewfinder for ZSL use case */ + bool disable_cont_viewfinder; /** disable continuous viewfinder for ZSL use case */ int32_t flash_gpio_pin; /** pin on which the flash is connected, -1 for no flash */ int left_padding; /** The number of input-formatter left-paddings, -1 for default from binary.*/ struct ia_css_mipi_buffer_config mipi_buffer_config; /** mipi buffer configuration */ diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c index 07bd24edc7bf..74fc102a8192 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c @@ -45,7 +45,7 @@ static int ctc2_slope(int y1, int y0, int x1, int x0) int dy_shift = dy << shift_val; int slope, dydx; - /*Protection for paramater values, & avoiding zero divisions*/ + /*Protection for parameter values, & avoiding zero divisions*/ assert(y0 >= 0 && y0 <= max_slope); assert(y1 >= 0 && y1 <= max_slope); assert(x0 >= 0 && x0 <= max_slope); @@ -80,7 +80,7 @@ void ia_css_ctc2_vmem_encode(struct ia_css_isp_ctc2_vmem_params *to, { unsigned i, j; const unsigned shffl_blck = 4; - const unsigned lenght_zeros = 11; + const unsigned length_zeros = 11; short dydx0, dydx1, dydx2, dydx3, dydx4; (void)size; @@ -127,7 +127,7 @@ void ia_css_ctc2_vmem_encode(struct ia_css_isp_ctc2_vmem_params *to, to->e_y_slope[0][(i << shffl_blck) + 3] = dydx3; to->e_y_slope[0][(i << shffl_blck) + 4] = dydx4; - for (j = 0; j < lenght_zeros; j++) { + for (j = 0; j < length_zeros; j++) { to->y_x[0][(i << shffl_blck) + 5 + j] = 0; to->y_y[0][(i << shffl_blck) + 5 + j] = 0; to->e_y_slope[0][(i << shffl_blck)+ 5 + j] = 0; diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/hdr/ia_css_hdr_types.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/hdr/ia_css_hdr_types.h index 26464421b077..9b4b32bc6753 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/hdr/ia_css_hdr_types.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/hdr/ia_css_hdr_types.h @@ -21,7 +21,7 @@ /** * \brief HDR Irradiance Parameters - * \detail Currently HDR paramters are used only for testing purposes + * \detail Currently HDR parameters are used only for testing purposes */ struct ia_css_hdr_irradiance_params { int test_irr; /** Test parameter */ @@ -36,7 +36,7 @@ struct ia_css_hdr_irradiance_params { /** * \brief HDR Deghosting Parameters - * \detail Currently HDR paramters are used only for testing purposes + * \detail Currently HDR parameters are used only for testing purposes */ struct ia_css_hdr_deghost_params { int test_deg; /** Test parameter */ @@ -44,7 +44,7 @@ struct ia_css_hdr_deghost_params { /** * \brief HDR Exclusion Parameters - * \detail Currently HDR paramters are used only for testing purposes + * \detail Currently HDR parameters are used only for testing purposes */ struct ia_css_hdr_exclusion_params { int test_excl; /** Test parameter */ @@ -52,11 +52,11 @@ struct ia_css_hdr_exclusion_params { /** * \brief HDR public paramterers. - * \details Struct with all paramters for HDR that can be seet from - * the CSS API. Currenly, only test paramters are defined. + * \details Struct with all parameters for HDR that can be seet from + * the CSS API. Currenly, only test parameters are defined. */ struct ia_css_hdr_config { - struct ia_css_hdr_irradiance_params irradiance; /** HDR irradiance paramaters */ + struct ia_css_hdr_irradiance_params irradiance; /** HDR irradiance parameters */ struct ia_css_hdr_deghost_params deghost; /** HDR deghosting parameters */ struct ia_css_hdr_exclusion_params exclusion; /** HDR exclusion parameters */ }; diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/binary/src/binary.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/binary/src/binary.c index 0cd6e1da43cf..e16ab458cf52 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/binary/src/binary.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/binary/src/binary.c @@ -1805,7 +1805,7 @@ unsigned ia_css_binary_max_vf_width(void) { /* This is (should be) true for IPU1 and IPU2 */ - /* For IPU3 (SkyCam) this pointer is guarenteed to be NULL simply because such a binary does not exist */ + /* For IPU3 (SkyCam) this pointer is guaranteed to be NULL simply because such a binary does not exist */ if (binary_infos[IA_CSS_BINARY_MODE_VF_PP]) return binary_infos[IA_CSS_BINARY_MODE_VF_PP]->sp.output.max_width; return 0; diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/bufq/interface/ia_css_bufq.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/bufq/interface/ia_css_bufq.h index 034ec15ec4a1..4d17d3c697d6 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/bufq/interface/ia_css_bufq.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/bufq/interface/ia_css_bufq.h @@ -71,7 +71,7 @@ void ia_css_queue_map( /** - * @brief Initilize buffer type to a queue id mapping + * @brief Initialize buffer type to a queue id mapping * @return none */ void ia_css_queue_map_init(void); diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c index 4607a76dc78a..66556a4e574e 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c @@ -2872,7 +2872,7 @@ ia_css_debug_pipe_graph_dump_stage( if (l <= ENABLE_LINE_MAX_LENGTH) { /* The 2nd line fits */ /* we cannot use ei as argument because - * it is not guarenteed dword aligned + * it is not guaranteed dword aligned */ strncpy_s(enable_info2, sizeof(enable_info2), @@ -2896,7 +2896,7 @@ ia_css_debug_pipe_graph_dump_stage( if (l <= ENABLE_LINE_MAX_LENGTH) { /* The 3rd line fits */ /* we cannot use ei as argument because - * it is not guarenteed dword aligned + * it is not guaranteed dword aligned */ strcpy_s(enable_info3, sizeof(enable_info3), ei); diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/frame/src/frame.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/frame/src/frame.c index fd8e6fda5db4..5a7df5ab4e3e 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/frame/src/frame.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/frame/src/frame.c @@ -917,7 +917,7 @@ ia_css_elems_bytes_from_info(const struct ia_css_frame_info *info) return 2; /* bytes per pixel */ /* Note: Essentially NV12_16 is a 2 bytes per pixel format, this return value is used * to configure DMA for the output buffer, - * At least in SKC this data is overwriten by isp_output_init.sp.c except for elements(elems), + * At least in SKC this data is overwritten by isp_output_init.sp.c except for elements(elems), * which is configured from this return value, * NV12_16 is implemented by a double buffer of 8 bit elements hence elems should be configured as 8 */ if (info->format == IA_CSS_FRAME_FORMAT_NV12_16) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/pipeline/interface/ia_css_pipeline.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/pipeline/interface/ia_css_pipeline.h index 85ed7db0af55..45a47c202e2f 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/pipeline/interface/ia_css_pipeline.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/pipeline/interface/ia_css_pipeline.h @@ -215,7 +215,7 @@ enum ia_css_err ia_css_pipeline_get_stage_from_fw(struct ia_css_pipeline *pipeli uint32_t fw_handle, struct ia_css_pipeline_stage **stage); -/* @brief Gets the Firmware handle correponding the stage num from the pipeline +/* @brief Gets the Firmware handle corresponding the stage num from the pipeline * * @param[in] pipeline * @param[in] stage_num diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c index 4bcc835880cf..230b4cc60767 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c @@ -1259,7 +1259,7 @@ static void print_pc_histo(char *core_name, struct sh_css_pc_histogram *hist) return; sh_css_print("%s histogram length = %d\n", core_name, hist->length); - sh_css_print("%s PC\trun\tstall\n", core_name); + sh_css_print("%s PC\turn\tstall\n", core_name); for (i = 0; i < hist->length; i++) { if ((hist->run[i] == 0) && (hist->run[i] == hist->stall[i])) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_internal.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_internal.h index 161122e1bcbc..d559f9d303cc 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_internal.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_internal.h @@ -335,7 +335,7 @@ struct sh_css_sp_debug_state { #define SH_CSS_SP_DBG_NR_OF_TRACES (1) #define SH_CSS_SP_DBG_TRACE_DEPTH (40) #else -/* E.g. if you like seperate traces for 4 threads */ +/* E.g. if you like separate traces for 4 threads */ #define SH_CSS_SP_DBG_NR_OF_TRACES (4) #define SH_CSS_SP_DBG_TRACE_DEPTH (10) #endif @@ -373,7 +373,7 @@ struct sh_css_sp_debug_command { * Bit 31...24: unused. * Bit 23...16: unused. * Bit 15...08: reading-request enabling bits for DMA channel 7..0 - * Bit 07...00: writing-reqeust enabling bits for DMA channel 7..0 + * Bit 07...00: writing-request enabling bits for DMA channel 7..0 * * For example, "0...0 0...0 11111011 11111101" indicates that the * writing request through DMA Channel 1 and the reading request @@ -584,11 +584,11 @@ struct sh_css_sp_pipeline { /* * The first frames (with comment Dynamic) can be dynamic or static * The other frames (ref_in and below) can only be static - * Static means that the data addres will not change during the life time + * Static means that the data address will not change during the life time * of the associated pipe. Dynamic means that the data address can * change with every (frame) iteration of the associated pipe * - * s3a and dis are now also dynamic but (stil) handled seperately + * s3a and dis are now also dynamic but (stil) handled separately */ #define SH_CSS_NUM_DYNAMIC_FRAME_IDS (3) @@ -608,7 +608,7 @@ struct ia_css_frames_sp { /* Information for a single pipeline stage for an ISP */ struct sh_css_isp_stage { /* - * For compatability and portabilty, only types + * For compatibility and portabilty, only types * from "stdint.h" are allowed * * Use of "enum" and "bool" is prohibited @@ -624,7 +624,7 @@ struct sh_css_isp_stage { /* Information for a single pipeline stage */ struct sh_css_sp_stage { /* - * For compatability and portabilty, only types + * For compatibility and portabilty, only types * from "stdint.h" are allowed * * Use of "enum" and "bool" is prohibited @@ -686,7 +686,7 @@ struct sh_css_sp_stage { * Note: * Group all host initialized SP variables into this struct. * This is initialized every stage through dma. - * The stage part itself is transfered through sh_css_sp_stage. + * The stage part itself is transferred through sh_css_sp_stage. */ struct sh_css_sp_group { struct sh_css_sp_config config; @@ -840,7 +840,7 @@ struct sh_css_event_irq_mask { struct host_sp_communication { /* * Don't use enum host2sp_commands, because the sizeof an enum is - * compiler dependant and thus non-portable + * compiler dependent and thus non-portable */ uint32_t host2sp_command; diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c index 43529b1605c3..9084bf751d63 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c @@ -3828,7 +3828,7 @@ sh_css_param_update_isp_params(struct ia_css_pipe *curr_pipe, cur_map_size = ¶ms->pipe_ddr_ptrs_size[pipeline->pipe_id]; /* TODO: Normally, zoom and motion parameters shouldn't - * be part of "isp_params" as it is resolution/pipe dependant + * be part of "isp_params" as it is resolution/pipe dependent * Therefore, move the zoom config elsewhere (e.g. shading * table can be taken as an example! @GC * */ diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_sp.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_sp.c index cdbe914787c8..254d5797d8f8 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_sp.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_sp.c @@ -1403,7 +1403,7 @@ sh_css_read_host2sp_command(void) /* * Frame data is no longer part of the sp_stage structure but part of a - * seperate structure. The aim is to make the sp_data struct static + * separate structure. The aim is to make the sp_data struct static * (it defines a pipeline) and that the dynamic (per frame) data is stored * separetly. * @@ -1422,7 +1422,7 @@ sh_css_init_host2sp_frame_data(void) /* * rvanimme: don't clean it to save static frame info line ref_in * ref_out, and tnr_frames. Once this static data is in a - * seperate data struct, this may be enable (but still, there is + * separate data struct, this may be enable (but still, there is * no need for it) */ } diff --git a/drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm_bo.c b/drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm_bo.c index a6620d2c9f50..ef35ac0b3a27 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm_bo.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm_bo.c @@ -1516,7 +1516,7 @@ int hmm_bo_mmap(struct vm_area_struct *vma, struct hmm_buffer_object *bo) vma->vm_flags |= VM_IO|VM_DONTEXPAND|VM_DONTDUMP; /* - * call hmm_bo_vm_open explictly. + * call hmm_bo_vm_open explicitly. */ hmm_bo_vm_open(vma); diff --git a/drivers/staging/media/atomisp/pci/atomisp2/include/mmu/isp_mmu.h b/drivers/staging/media/atomisp/pci/atomisp2/include/mmu/isp_mmu.h index 4b2d94a37ea1..0fa8e02a8655 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/include/mmu/isp_mmu.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/include/mmu/isp_mmu.h @@ -136,7 +136,7 @@ int isp_mmu_init(struct isp_mmu *mmu, struct isp_mmu_client *driver); void isp_mmu_exit(struct isp_mmu *mmu); /* - * setup/remove address mapping for pgnr continous physical pages + * setup/remove address mapping for pgnr continuous physical pages * and isp_virt. * * map/unmap is mutex lock protected, and caller does not have diff --git a/drivers/staging/media/atomisp/pci/atomisp2/mmu/isp_mmu.c b/drivers/staging/media/atomisp/pci/atomisp2/mmu/isp_mmu.c index f4b975a18fa3..d7f25fe890ae 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/mmu/isp_mmu.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/mmu/isp_mmu.c @@ -168,7 +168,7 @@ static void mmu_unmap_l2_pte_error(struct isp_mmu *mmu, phys_addr_t l2_pt, unsigned int l2_idx, unsigned int isp_virt, unsigned int pte) { - dev_err(atomisp_dev, "unmap unvalid L2 pte:\n\n" + dev_err(atomisp_dev, "unmap invalid L2 pte:\n\n" "\tL1 PT: virt = %p, phys = 0x%llx, " "idx = %d\n" "\tL2 PT: virt = %p, phys = 0x%llx, " @@ -185,7 +185,7 @@ static void mmu_unmap_l1_pte_error(struct isp_mmu *mmu, phys_addr_t l1_pt, unsigned int l1_idx, unsigned int isp_virt, unsigned int pte) { - dev_err(atomisp_dev, "unmap unvalid L1 pte (L2 PT):\n\n" + dev_err(atomisp_dev, "unmap invalid L1 pte (L2 PT):\n\n" "\tL1 PT: virt = %p, phys = 0x%llx, " "idx = %d\n" "\tisp_virt = 0x%x, l1_pte(L2 PT) = 0x%x\n", @@ -196,7 +196,7 @@ static void mmu_unmap_l1_pte_error(struct isp_mmu *mmu, static void mmu_unmap_l1_pt_error(struct isp_mmu *mmu, unsigned int pte) { - dev_err(atomisp_dev, "unmap unvalid L1PT:\n\n" + dev_err(atomisp_dev, "unmap invalid L1PT:\n\n" "L1PT = 0x%x\n", (unsigned int)pte); } -- 2.34.1