Skip to content

Commit 94662f5

Browse files
Loic PoulainHans Verkuil
authored andcommitted
media: qcom: camss: vfe: Fix BPL alignment for QCM2290
VFE-340 requires 8-byte alignment instead of 16-byte. This adjustment prevents image corruption/misaligment when padding is needed. Example: For SRGGB10_1X10/3280x2464, aligned BPL was 4112 instead of 4104 Fixes: 9e89149 ("media: qcom: camss: add support for QCM2290 camss") Signed-off-by: Loic Poulain <[email protected]> Reviewed-by: Bryan O'Donoghue <[email protected]> Signed-off-by: Bryan O'Donoghue <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent 40b7a19 commit 94662f5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/media/platform/qcom/camss/camss-vfe.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1989,7 +1989,6 @@ static int vfe_bpl_align(struct vfe_device *vfe)
19891989
int ret = 8;
19901990

19911991
switch (vfe->camss->res->version) {
1992-
case CAMSS_2290:
19931992
case CAMSS_7280:
19941993
case CAMSS_8250:
19951994
case CAMSS_8280XP:

0 commit comments

Comments
 (0)