gpio: mxc_gpio: change gpio index for i.MX8
authorYe Li <ye.li@nxp.com>
Wed, 10 Jun 2020 03:28:02 +0000 (20:28 -0700)
committerStefano Babic <sbabic@denx.de>
Mon, 22 Jun 2020 22:08:53 +0000 (00:08 +0200)
commite168eacde1cfbdcf75e92bfda6d51fa59d488dfd
tree8ca4e032a8b0a9761b9e11a7b3eb4ce0134d25b4
parent9959d0f679671c6edf91ef2213a08c90531a5980
gpio: mxc_gpio: change gpio index for i.MX8

Since the i.MX8 GPIO banks are indexed from 0 not 1 on other i.MX
platforms, so we have to adjust the index accordingly.

Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
drivers/gpio/mxc_gpio.c