ARM: davinci: da830-evm: fix GPIO lookup for OHCI
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 25 Jun 2019 15:16:12 +0000 (17:16 +0200)
committerSekhar Nori <nsekhar@ti.com>
Tue, 2 Jul 2019 14:48:33 +0000 (20:18 +0530)
The fixed regulator driver doesn't specify any con_id for gpio lookup
so it must be NULL in the table entry.

Fixes: 274e4c336192 ("ARM: davinci: da830-evm: add a fixed regulator for ohci-da8xx")
Cc: stable@vger.kernel.org
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/board-da830-evm.c

index b9891209f775d1e9cdae38ad956a01816b5ba053..a273ab25c668e2353657002b459cb21bf935f01d 100644 (file)
@@ -91,7 +91,7 @@ static struct gpiod_lookup_table da830_evm_usb_oc_gpio_lookup = {
 static struct gpiod_lookup_table da830_evm_usb_vbus_gpio_lookup = {
        .dev_id         = "reg-fixed-voltage.0",
        .table = {
-               GPIO_LOOKUP("davinci_gpio", ON_BD_USB_DRV, "vbus", 0),
+               GPIO_LOOKUP("davinci_gpio", ON_BD_USB_DRV, NULL, 0),
                { }
        },
 };