[PATCH v3 3/4] media: mediatek: add MT8188 AIE driver
CK Hu (胡俊光)
ck.hu at mediatek.com
Wed Dec 25 21:36:21 PST 2024
On Wed, 2024-12-25 at 17:00 +0800, bo.kong wrote:
> From: Bo Kong <Bo.Kong at mediatek.com>
>
> Add a V4L2 sub-device driver for MT8188 AIE.
>
> Signed-off-by: Bo Kong <Bo.Kong at mediatek.com>
> ---
[snip]
> +static const unsigned int anchor_en_num[FD_LOOP_NUM] = {
> + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
> + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
> + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
> + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5
> +};
> +
A constant array full of '5'?
Use a symbol to replace it.
#define ANCHOR_EN_NUM 5
Regards,
CK
More information about the Linux-mediatek
mailing list