Commit 3b330849 authored by Emil Velikov's avatar Emil Velikov Committed by Mauro Carvalho Chehab
Browse files

media: hantro: imx: reuse MB_DIM define



Swap the hardcoded 16 with MB_DIM define.

Fixes: 8e4aaa68 ("media: hantro: add initial i.MX8MQ support")
Acked-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Reviewed-by: default avatarEzequiel Garcia <ezequiel@collabora.com>
Reviewed-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 09f4310c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -109,10 +109,10 @@ static const struct hantro_fmt imx8m_vpu_dec_fmts[] = {
		.frmsize = {
			.min_width = 48,
			.max_width = 3840,
			.step_width = 16,
			.step_width = MB_DIM,
			.min_height = 48,
			.max_height = 2160,
			.step_height = 16,
			.step_height = MB_DIM,
		},
	},
	{