mirror of https://gitee.com/openkylin/linux.git
media: atomisp: coding style: correct multiline comments
This fixes some coding style issues of multiline comments to correct a few checkpatch.pl warnings. Signed-off-by: Rahul Gottipati <rahul.blr97@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
1b24a57232
commit
539753884e
|
@ -1274,13 +1274,15 @@ static int atomisp_qbuf(struct file *file, void *fh, struct v4l2_buffer *buf)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Workaround: Due to the design of HALv3,
|
/*
|
||||||
|
* Workaround: Due to the design of HALv3,
|
||||||
* sometimes in ZSL or SDV mode HAL needs to
|
* sometimes in ZSL or SDV mode HAL needs to
|
||||||
* capture multiple images within one streaming cycle.
|
* capture multiple images within one streaming cycle.
|
||||||
* But the capture number cannot be determined by HAL.
|
* But the capture number cannot be determined by HAL.
|
||||||
* So HAL only sets the capture number to be 1 and queue multiple
|
* So HAL only sets the capture number to be 1 and queue multiple
|
||||||
* buffers. Atomisp driver needs to check this case and re-trigger
|
* buffers. Atomisp driver needs to check this case and re-trigger
|
||||||
* CSS to do capture when new buffer is queued. */
|
* CSS to do capture when new buffer is queued.
|
||||||
|
*/
|
||||||
if (asd->continuous_mode->val &&
|
if (asd->continuous_mode->val &&
|
||||||
atomisp_subdev_source_pad(vdev)
|
atomisp_subdev_source_pad(vdev)
|
||||||
== ATOMISP_SUBDEV_PAD_SOURCE_CAPTURE &&
|
== ATOMISP_SUBDEV_PAD_SOURCE_CAPTURE &&
|
||||||
|
@ -2436,8 +2438,10 @@ static int atomisp_g_ext_ctrls(struct file *file, void *fh,
|
||||||
struct v4l2_control ctrl;
|
struct v4l2_control ctrl;
|
||||||
int i, ret = 0;
|
int i, ret = 0;
|
||||||
|
|
||||||
/* input_lock is not need for the Camera related IOCTLs
|
/*
|
||||||
* The input_lock downgrade the FPS of 3A*/
|
* 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);
|
ret = atomisp_camera_g_ext_ctrls(file, fh, c);
|
||||||
if (ret != -EINVAL)
|
if (ret != -EINVAL)
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -2519,8 +2523,10 @@ static int atomisp_camera_s_ext_ctrls(struct file *file, void *fh,
|
||||||
ret =
|
ret =
|
||||||
v4l2_s_ctrl(NULL, isp->flash->ctrl_handler,
|
v4l2_s_ctrl(NULL, isp->flash->ctrl_handler,
|
||||||
&ctrl);
|
&ctrl);
|
||||||
/* When flash mode is changed we need to reset
|
/*
|
||||||
* flash state */
|
* When flash mode is changed we need to reset
|
||||||
|
* flash state
|
||||||
|
*/
|
||||||
if (ctrl.id == V4L2_CID_FLASH_MODE) {
|
if (ctrl.id == V4L2_CID_FLASH_MODE) {
|
||||||
asd->params.flash_state =
|
asd->params.flash_state =
|
||||||
ATOMISP_FLASH_IDLE;
|
ATOMISP_FLASH_IDLE;
|
||||||
|
@ -2558,8 +2564,10 @@ static int atomisp_s_ext_ctrls(struct file *file, void *fh,
|
||||||
struct v4l2_control ctrl;
|
struct v4l2_control ctrl;
|
||||||
int i, ret = 0;
|
int i, ret = 0;
|
||||||
|
|
||||||
/* input_lock is not need for the Camera related IOCTLs
|
/*
|
||||||
* The input_lock downgrade the FPS of 3A*/
|
* 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);
|
ret = atomisp_camera_s_ext_ctrls(file, fh, c);
|
||||||
if (ret != -EINVAL)
|
if (ret != -EINVAL)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue