[PATCH] pinctrl: mediatek: common-v1: Fix EINT breakage on older controllers
Uwe Kleine-König
u.kleine-koenig at baylibre.com
Wed Apr 16 09:09:29 PDT 2025
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 at baylibre.com>
> Closes: https://lore.kernel.org/all/43nd5jxpk7b7fv46frqlfjnqfh5jlpqsemeoakqzd4wdi3df6y@w7ycd3k5ezvn/
> Fixes: 3ef9f710efcb ("pinctrl: mediatek: Add EINT support for multiple addresses")
> Cc: Hao Chang <ot_chhao.chang at mediatek.com>
> Cc: Qingliang Li <qingliang.li at mediatek.com>
> Signed-off-by: Chen-Yu Tsai <wenst at chromium.org>
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 at baylibre.com>
Thanks
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250416/10584fcd/attachment.sig>
More information about the linux-arm-kernel
mailing list