gpio: wcd934x: Don't change gpio direction in wcd_gpio_set
authorAxel Lin <axel.lin@ingics.com>
Fri, 31 Jan 2020 12:29:17 +0000 (20:29 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 10 Feb 2020 09:50:58 +0000 (10:50 +0100)
commit47d7d116661993499d626f7ec6f7679e83d59f15
treee2001e15d6a4f5e223bb8af6f4e1ccd5c9279361
parenta630fe34ddc09ec9b82df4867a8680d0929fe926
gpio: wcd934x: Don't change gpio direction in wcd_gpio_set

The .set callback should just set output value.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-wcd934x.c