Haibo Chen 7e29dadf26 gpio: vf610: set value before the direction to avoid a glitch
commit fc363413ef8ea842ae7a99e3caf5465dafdd3a49 upstream.

We found a glitch when configuring the pad as output high. To avoid this
glitch, move the data value setting before direction config in the
function vf610_gpio_direction_output().

Fixes: 659d8a62311f ("gpio: vf610: add imx7ulp support")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
[Bartosz: tweak the commit message]
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-25 11:54:25 +02:00
..
2020-07-20 15:34:59 +02:00
2020-01-15 11:24:19 +01:00
2019-09-03 16:04:19 +02:00
2019-11-07 09:27:48 +01:00
2020-07-30 00:13:10 +02:00
2019-11-07 09:27:48 +01:00
2020-01-15 13:45:01 +01:00
2019-11-07 09:27:48 +01:00
2019-12-09 10:40:18 +01:00
2021-04-21 13:00:50 +02:00
2020-10-14 15:56:58 -07:00
2020-06-15 10:15:29 +02:00