aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorIcenowy Zheng <[email protected]>2017-08-11 22:27:34 +0800
committerLinus Walleij <[email protected]>2017-08-22 14:48:24 +0200
commit1899ccc041069e86557d6952d97f3b41b7333d87 (patch)
tree0c7ca897474becbd327c3be8843324b0ab8b124a /lib/test_overflow.c
parent5ff56b015e85c4a6761968db369b4b2c9d821c86 (diff)
pinctrl: sunxi: fix wrong irq_banks number for H5 pinctrl
The pin controller of Allwinner H5 has three IRQ banks, however in old versions of drivers and device trees, only two are set, which makes PG bank IRQ not available. If it's directly set to 3, the old device trees will fail to boot. Add a workaround (and a warning) for older device trees, and allow new device trees to use correct 3 IRQ banks. Fixes: 838adb576d4a ("drivers: pinctrl: add driver for Allwinner H5 SoC") Signed-off-by: Icenowy Zheng <[email protected]> Acked-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions