commit | d25e8fdebdad84219b498873300b7f11dd915b88 | [log] [tgz] |
---|---|---|
author | Ed Wildgoose <lists@wildgooses.com> | Mon Sep 28 10:44:52 2020 +0100 |
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Mon Sep 28 12:22:04 2020 +0200 |
tree | cd1f386dbced0dbb0e5ecefb0e7eccc53a990fe5 | |
parent | 3e640b1eec38e4c8eba160f26cba4f592e657f3d [diff] |
gpio: amd-fch: correct logic of GPIO_LINE_DIRECTION The original commit appears to have the logic reversed in amd_fch_gpio_get_direction. Also confirmed by observing the value of "direction" in the sys tree. Signed-off-by: Ed Wildgoose <lists@wildgooses.com> Fixes: e09d168f13f0 ("gpio: AMD G-Series PCH gpio driver") Cc: stable@vger.kernel.org Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>