diff options
author | Icenowy Zheng <icenowy@aosc.io> | 2017-08-11 17:27:34 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-22 15:48:24 +0300 |
commit | 1899ccc041069e86557d6952d97f3b41b7333d87 (patch) | |
tree | 0c7ca897474becbd327c3be8843324b0ab8b124a /crypto/pcbc.c | |
parent | 5ff56b015e85c4a6761968db369b4b2c9d821c86 (diff) | |
download | linux-1899ccc041069e86557d6952d97f3b41b7333d87.tar.xz |
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 <icenowy@aosc.io>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'crypto/pcbc.c')
0 files changed, 0 insertions, 0 deletions