ARM: davinci: board-da850-evm: fix GPIO lookup for MMC/SD
authorSekhar Nori <nsekhar@ti.com>
Tue, 24 Apr 2018 14:35:04 +0000 (20:05 +0530)
committerSekhar Nori <nsekhar@ti.com>
Tue, 1 May 2018 11:44:39 +0000 (17:14 +0530)
commit67c6b6ff221f807180aea6dd597246f87e1dd98a
tree3ac7eaffdac0f0518a3c115e8fa2c022448e0931
parent51e9f12163223546bd3aa9f7af6817931f980da8
ARM: davinci: board-da850-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: bdf0e8364fd3 ("ARM: davinci: da850-evm: use gpio descriptor for mmc pins")
Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/board-da850-evm.c