]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: davinci: board-da830-evm: fix GPIO lookup for MMC/SD
authorSekhar Nori <nsekhar@ti.com>
Tue, 24 Apr 2018 14:35:03 +0000 (20:05 +0530)
committerSekhar Nori <nsekhar@ti.com>
Tue, 1 May 2018 11:43:38 +0000 (17:13 +0530)
commit83b5d7541444d84eabe74d65f68679580e25a8e5
tree3ef3d535350bc13411e0110fbb0066c6f237a467
parent61de20970c63248227514d8af14a3fc6a8f67b70
ARM: davinci: board-da830-evm: fix GPIO lookup for MMC/SD

The GPIO chip is called davinci_gpio.0 in legacy mode. Fix it, so that
mmc can correctly lookup the wp and cp gpios. Also fix the GPIO numbers
as they are not offsets within a bank.

Note that it is the gpio-davinci driver that sets the gpiochip label to
davinci_gpio.0.

Fixes: 98df695ecc80 ("ARM: davinci: da830-evm: use gpio descriptor for mmc pins")
Reported-by: David Lechner <david@lechnology.com>
Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/board-da830-evm.c