Skip to content

Commit abd2676

Browse files
naushirpopcornmix
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 <naush@raspberrypi.com>
1 parent 7555791 commit abd2676

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
@@ -1076,7 +1076,7 @@ static void pispbe_set_plane_params(struct v4l2_format *f,
10761076
unsigned int bpl, plane_size;
10771077

10781078
bpl = (f->fmt.pix_mp.width * fmt->bit_depth) >> 3;
1079-
bpl = ALIGN(max(p->bytesperline, bpl), fmt->align);
1079+
bpl = ALIGN(max(p->bytesperline, bpl), fmt->opt_align);
10801080

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

0 commit comments

Comments
 (0)