diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2017-05-22 16:59:35 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-05-29 11:16:16 +0300 |
commit | 80fbc2d9b3e9796133470069fa1a10fe2a755a7a (patch) | |
tree | 2e1669beeae1ec3630d4753a90cdc1e2f6cdd8f4 /mm/early_ioremap.c | |
parent | dcbcc3043cb83205711910119ecba499219b4748 (diff) | |
download | linux-80fbc2d9b3e9796133470069fa1a10fe2a755a7a.tar.xz |
pinctrl: zte: fix group_desc initialization
There are a couple of issues with group_desc initialization in function
zx_pinctrl_build_state().
- num_pins is not initialized and remains zero.
- pins shouldn't be initialized with a pointer to variable in the
stack.
With them fixed, pin_request() in pinmux_enable_setting() can be invoked
correctly.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'mm/early_ioremap.c')
0 files changed, 0 insertions, 0 deletions