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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:52:13 +0000 (07:52 +0200)
commit341029c2024ba907462a494517b14487c254e264
tree316bfb6c811b9956492d1553c1f210e3dbff8c7a
parentb7f1129a2c77f1dacd413a822fec90e2922855f8
ARM: davinci: fix the GPIO lookup for omapl138-hawk

[ Upstream commit c4dc56be7e26040bfc60ce73425353516a356955 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-davinci/board-omapl138-hawk.c