Re: [PATCH] pinctrl: mediatek: common-v1: Fix EINT breakage on older controllers

From: Uwe Kleine-König
Date: Wed Apr 16 2025 - 12:10:47 EST


On Tue, Apr 15, 2025 at 07:23:37PM +0800, Chen-Yu Tsai wrote:
> When EINT support for multiple addresses was introduced, the driver
> library for the older generations (pinctrl-mtk-common) was not fixed
> together. This resulted in invalid pointer accesses.
>
> Fix up the filled in |struct mtk_eint| in pinctrl-mtk-common to match
> what is now expected by the mtk-eint library.
>
> Reported-by: "Uwe Kleine-König" <u.kleine-koenig@xxxxxxxxxxxx>
> Closes: https://lore.kernel.org/all/43nd5jxpk7b7fv46frqlfjnqfh5jlpqsemeoakqzd4wdi3df6y@w7ycd3k5ezvn/
> Fixes: 3ef9f710efcb ("pinctrl: mediatek: Add EINT support for multiple addresses")
> Cc: Hao Chang <ot_chhao.chang@xxxxxxxxxxxx>
> Cc: Qingliang Li <qingliang.li@xxxxxxxxxxxx>
> Signed-off-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>

I confirm this fixes the booting issue on the mt8365-evk.

If it's not too late for that:

Tested-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxx>

Thanks
Uwe

Attachment: signature.asc
Description: PGP signature