Commit 94662f56 authored by Loic Poulain's avatar Loic Poulain Committed by Hans Verkuil
Browse files

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: 9e89149a ("media: qcom: camss: add support for QCM2290 camss")
Signed-off-by: default avatarLoic Poulain <loic.poulain@oss.qualcomm.com>
Reviewed-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: default avatarBryan O'Donoghue <bod@kernel.org>
Signed-off-by: default avatarHans Verkuil <hverkuil+cisco@kernel.org>
parent 40b7a19f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1989,7 +1989,6 @@ static int vfe_bpl_align(struct vfe_device *vfe)
	int ret = 8;

	switch (vfe->camss->res->version) {
	case CAMSS_2290:
	case CAMSS_7280:
	case CAMSS_8250:
	case CAMSS_8280XP: