diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-12-11 23:28:09 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-01-04 15:34:16 +0100 |
commit | 9a85c09a3f507b925d75cb0c7c8f364467038052 (patch) | |
tree | da588e045591f5e3460d797ed0fcba10f1fc58b4 /fs/file_table.c | |
parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) |
pinctrl: ingenic: Fix JZ4760 support
- JZ4760 and JZ4760B have a similar register layout as the JZ4740, and
don't use the new register layout, which was introduced with the
JZ4770 SoC and not the JZ4760 or JZ4760B SoCs.
- The JZ4740 code path only expected two function modes to be
configurable for each pin, and wouldn't work with more than two. Fix
it for the JZ4760, which has four configurable function modes.
Fixes: 0257595a5cf4 ("pinctrl: Ingenic: Add pinctrl driver for JZ4760 and JZ4760B.")
Cc: <stable@vger.kernel.org> # 5.3
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20201211232810.261565-1-paul@crapouillou.net
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions