ARM: davinci: fix the GPIO lookup for omapl138-hawk
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 1 Mar 2018 10:34:48 +0000 (11:34 +0100)
committerSekhar Nori <nsekhar@ti.com>
Fri, 9 Mar 2018 09:55:40 +0000 (15:25 +0530)
commitc4dc56be7e26040bfc60ce73425353516a356955
tree4196f507c5aec633e47d1f9a4ccd1e34b97c6d08
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
ARM: davinci: fix the GPIO lookup for omapl138-hawk

The GPIO chip is called davinci_gpio.0 in legacy mode. Fix it, so that
mmc can correctly lookup the wp and cp gpios.

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

Fixes: c69f43fb4f26 ("ARM: davinci: hawk: use gpio descriptor for mmc pins")
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
[nsekhar@ti.com: add a note on where the chip label is set]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/board-omapl138-hawk.c