diff options
author | Chen-Yu Tsai <wenst@chromium.org> | 2025-04-15 14:23:37 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2025-04-17 10:44:52 +0300 |
commit | fe412e3a6c97cfe49ecf4564a278122f7d78e3f0 (patch) | |
tree | 88cdd455d2f2e6de7ba220f2162d2d10ce97e1eb /drivers/fpga/tests/fpga-bridge-test.c | |
parent | 457d9772e8a5cdae64f66b5f7d5b0247365191ec (diff) | |
download | linux-fe412e3a6c97cfe49ecf4564a278122f7d78e3f0.tar.xz |
pinctrl: mediatek: common-v1: Fix EINT breakage on older controllers
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@baylibre.com>
Tested-by: Uwe Kleine-König <u.kleine-koenig@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@mediatek.com>
Cc: Qingliang Li <qingliang.li@mediatek.com>
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/20250415112339.2385454-1-wenst@chromium.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions