media: atomisp: fix block comment style in sh_css_sp.c
Subsystems (4)
PATCH 1/1 media: atomisp: fix block comment style in sh_css_sp.c
Convert block comments to the preferred kernel style with a leading "*" on each line and the closing "*/" on its own line, as reported by checkpatch.
Signed-off-by Gobi Durairaj <[email protected]>
--- drivers/staging/media/atomisp/pci/sh_css_sp.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-)
drivers/staging/media/atomisp/pci/sh_css_sp.c +12 -6
@@ -266,8 +266,10 @@ sh_css_sp_start_raw_copy(struct ia_css_frame *out_frame, pipe->copy.raw.max_input_width = max_input_width; pipe->num_stages =1 ; pipe->pipe_id = pipe_id; -/* TODO: next indicates from which queues parameters need to be -sampled, needs checking/improvement */ +/* +* TODO: next indicates from which queues parameters need to be +* sampled, needs checking/improvement +*/ if (pipe_conf_override ==SH_CSS_PIPE_CONFIG_OVRD_NO_OVRD ) pipe->pipe_config = (SH_CSS_PIPE_CONFIG_SAMPLE_PARAMS << thread_id);
@@ -702,8 +704,10 @@ sh_css_sp_write_frame_pointers(const struct sh_css_binary_args *args) err =set_output_frame_buffer (args->out_frame[i], i); } -/* we don't pass this error back to the upper layer, so we add a assert here -because we actually hit the error here but it still works by accident... */ +/* +* we don't pass this error back to the upper layer, so we add a assert here +* because we actually hit the error here but it still works by accident... +*/ if (err)assert (false);return err;
@@ -1233,8 +1237,10 @@ sh_css_sp_init_pipeline(struct ia_css_pipeline *me, sh_css_sp_group.pipe[thread_id].port_id = port_id; sh_css_sp_group.pipe[thread_id].dvs_frame_delay = (uint32_t )me->dvs_frame_delay; -/* TODO: next indicates from which queues parameters need to be -sampled, needs checking/improvement */ +/* +* TODO: next indicates from which queues parameters need to be +* sampled, needs checking/improvement +*/ if (ia_css_pipeline_uses_params (me)) { sh_css_sp_group.pipe[thread_id].pipe_config =SH_CSS_PIPE_CONFIG_SAMPLE_PARAMS << thread_id;
Signature · 1 line
2.53.0
Quoted 3 lines · Gobi Durairaj
Convert block comments to the preferred kernel style with a leading "*" on each line and the closing "*/" on its own line, as reported by checkpatch.
If Sakari wants to take it...
This type of changes to this driver are not appreciated at this moment, sorry. I can point to the success story in case you want to continue with this driver
https://lore.kernel.org/linux-media/[email protected]/
Signature · 2 lines
With Best Regards, Andy Shevchenko