diff options
| author | Geert Uytterhoeven <[email protected]> | 2016-09-11 10:48:33 +0200 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2016-10-04 16:13:57 +0200 |
| commit | 5ac676ade1eac27fb311f0f2fb11eeac5089a66c (patch) | |
| tree | edf1b400f6ed5fca1af2187dcdd8e69612a6ed8d /tools/perf/scripts/python | |
| parent | 561eca4990557b684605090fe6a2f50cecec34e1 (diff) | |
MIPS: TXx9: tx49xx: Move GPIO setup from .mem_setup() to .arch_init()
txx9_gpio_init() calls gpiochip_add_data(), which fails with -ENOMEM as
it is called too early in the boot process. This causes all subsequent
GPIO operations to fail silently (before commit 54d77198fdfbc4f0 ("gpio:
bail out silently on NULL descriptors") it printed the error message
"gpiod_direction_output_raw: invalid GPIO" on RBTX49[23]7).
Postpone all GPIO setup to .arch_init() time to fix this.
Suggested-by: Atsushi Nemoto <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/14237/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions