Skip to content

Commit c5f243c

Browse files
naushirpelwell
authored andcommitted
drivers: meida: pisp_be: Rename format align field
Rename the align field in the format structure to opt_align to indicate the optimal alignment for the format. There is no functional change in this commit. Signed-off-by: Naushir Patuck <[email protected]>
1 parent ac69f09 commit c5f243c

File tree

2 files changed

+52
-52
lines changed

2 files changed

+52
-52
lines changed

drivers/media/platform/raspberrypi/pisp_be/pisp_be.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ static void pispbe_set_plane_params(struct v4l2_format *f,
11061106
unsigned int bpl, plane_size;
11071107

11081108
bpl = (f->fmt.pix_mp.width * fmt->bit_depth) >> 3;
1109-
bpl = ALIGN(max(p->bytesperline, bpl), fmt->align);
1109+
bpl = ALIGN(max(p->bytesperline, bpl), fmt->opt_align);
11101110

11111111
plane_size = bpl * f->fmt.pix_mp.height *
11121112
(nplanes > 1 ? fmt->plane_factor[i] : total_plane_factor);

0 commit comments

Comments
 (0)