]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: rk3399: fix missing braces in full pinctrl
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 4 Jan 2019 18:09:08 +0000 (19:09 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 6 Jan 2019 14:26:31 +0000 (15:26 +0100)
commitd6af6bcb00075618caaf5d746f0f9bbc04863f1b
tree7c38fd876cc1415ad3b8fcc8ae77e067d5050384
parent549d89de29ebc51dbf541db407a82daada04c334
rockchip: rk3399: fix missing braces in full pinctrl

Braces around the error-case for rk3399_pinctrl_set_pin_pupd lead to
an unconditional (and unintended) return from the function without it
ever setting pin-configurations.

Fix it.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/pinctrl/rockchip/pinctrl_rk3399.c