]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 27 Aug 2018 14:40:05 +0000 (16:40 +0200)
commitc704150ff80b3c94c269ce7304d1e0da1576a285
treeb0917fa035cc61b8eaa822732a65a32cb96aafa2
parenta6e213b15c274f4b8b557457a1ef79667dcb4a4f
ARM: davinci: fix the GPIO lookup for omapl138-hawk

BugLink: http://bugs.launchpad.net/bugs/1786352
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/arm/mach-davinci/board-omapl138-hawk.c