1
0
Fork 0
remarkable-linux/drivers/pinctrl/zte
Shawn Guo 80fbc2d9b3 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>
2017-05-29 10:16:16 +02:00
..
Kconfig
Makefile
pinctrl-zx.c pinctrl: zte: fix group_desc initialization 2017-05-29 10:16:16 +02:00
pinctrl-zx.h
pinctrl-zx296718.c