hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/platform/vsp1/vsp1_brx.c
....@@ -153,7 +153,7 @@
153153 format = vsp1_entity_get_pad_format(&brx->entity, config, fmt->pad);
154154 *format = fmt->format;
155155
156
- /* Reset the compose rectangle */
156
+ /* Reset the compose rectangle. */
157157 if (fmt->pad != brx->entity.source_pad) {
158158 struct v4l2_rect *compose;
159159
....@@ -164,7 +164,7 @@
164164 compose->height = format->height;
165165 }
166166
167
- /* Propagate the format code to all pads */
167
+ /* Propagate the format code to all pads. */
168168 if (fmt->pad == BRX_PAD_SINK(0)) {
169169 unsigned int i;
170170
....@@ -283,6 +283,7 @@
283283
284284 static void brx_configure_stream(struct vsp1_entity *entity,
285285 struct vsp1_pipeline *pipe,
286
+ struct vsp1_dl_list *dl,
286287 struct vsp1_dl_body *dlb)
287288 {
288289 struct vsp1_brx *brx = to_brx(&entity->subdev);
....@@ -296,7 +297,7 @@
296297 /*
297298 * The hardware is extremely flexible but we have no userspace API to
298299 * expose all the parameters, nor is it clear whether we would have use
299
- * cases for all the supported modes. Let's just harcode the parameters
300
+ * cases for all the supported modes. Let's just hardcode the parameters
300301 * to sane default values for now.
301302 */
302303
....@@ -373,7 +374,7 @@
373374 vsp1_brx_write(brx, dlb, VI6_BRU_CTRL(i), ctrl);
374375
375376 /*
376
- * Harcode the blending formula to
377
+ * Hardcode the blending formula to
377378 *
378379 * DSTc = DSTc * (1 - SRCa) + SRCc * SRCa
379380 * DSTa = DSTa * (1 - SRCa) + SRCa