diff options
| author | Luca Leonardo Scorcia <l.scorcia@gmail.com> | 2026-03-17 11:02:06 +0000 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-03-19 19:52:22 +0100 |
| commit | 8f9f64c8f90dca07d3b9f1d7ce5d34ccd246c9dd (patch) | |
| tree | 7c2abc8cd52fa29690b9a3ba9c077a534e85527b /scripts/git.orderFile | |
| parent | c8cfeb4b9dda2cdfce79519aee4aaff16310a7b6 (diff) | |
pinctrl: mediatek: common: Fix probe failure for devices without EINT
Some pinctrl devices like mt6397 or mt6392 don't support EINT at all, but
the mtk_eint_init function is always called and returns -ENODEV, which
then bubbles up and causes probe failure.
To address this only call mtk_eint_init if EINT pins are present.
Tested on Xiaomi Mi Smart Clock x04g (mt6392).
Fixes: e46df235b4e6 ("pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit")
Signed-off-by: Luca Leonardo Scorcia <l.scorcia@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
