Commit 4636a85c authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: atomisp: fix several typos



Running checkpatch.pl codespell logic found several typos at atomisp
driver.

Fix them using --fix-inline.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent fd3218f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */
+1 −1
Original line number Diff line number Diff line
@@ -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},
+2 −2
Original line number Diff line number Diff line
@@ -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 */
+1 −1
Original line number Diff line number Diff line
@@ -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.
+1 −1
Original line number Diff line number Diff line
@@ -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.
Loading