summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-amd-fch.c
diff options
context:
space:
mode:
authorTao Ren <rentao.bupt@gmail.com>2020-09-16 23:42:16 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-09-24 16:37:18 +0300
commit3e640b1eec38e4c8eba160f26cba4f592e657f3d (patch)
treeb767b6498caa48a196e3c5f68d9e3acf554de600 /drivers/gpio/gpio-amd-fch.c
parentbf0d394e885015941ed2d5724c0a6ed8d42dd95e (diff)
downloadlinux-3e640b1eec38e4c8eba160f26cba4f592e657f3d.tar.xz
gpio: aspeed: fix ast2600 bank properties
GPIO_U is mapped to the least significant byte of input/output mask, and the byte in "output" mask should be 0 because GPIO_U is input only. All the other bits need to be 1 because GPIO_V/W/X support both input and output modes. Similarly, GPIO_Y/Z are mapped to the 2 least significant bytes, and the according bits need to be 1 because GPIO_Y/Z support both input and output modes. Fixes: ab4a85534c3e ("gpio: aspeed: Add in ast2600 details to Aspeed driver") Signed-off-by: Tao Ren <rentao.bupt@gmail.com> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpio-amd-fch.c')
0 files changed, 0 insertions, 0 deletions