Skip to content

Commit

Permalink
media: platform: rzg2l-cru: rzg2l-video: Fix the comment in rzg2l_cru…
Browse files Browse the repository at this point in the history
…_start_streaming_vq()

Replace "buffer." -> "buffer", for consistency with rest of the
comment blocks in rzg2l_cru_start_streaming_vq().

Reported-by: Pavel Machek <pavel@denx.de>
Closes: https://lore.kernel.org/all/ZtWNFuw70nkB37EK@duo.ucw.cz/
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20240905112508.160560-1-biju.das.jz@bp.renesas.com
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
  • Loading branch information
Biju Das authored and Mauro Carvalho Chehab committed Jan 8, 2025
1 parent 570e4d1 commit 94794b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ static int rzg2l_cru_start_streaming_vq(struct vb2_queue *vq, unsigned int count
goto assert_aresetn;
}

/* Allocate scratch buffer. */
/* Allocate scratch buffer */
cru->scratch = dma_alloc_coherent(cru->dev, cru->format.sizeimage,
&cru->scratch_phys, GFP_KERNEL);
if (!cru->scratch) {
Expand Down

0 comments on commit 94794b5

Please sign in to comment.