ARM: davinci: da830-evm: fix GPIO lookup for OHCI
PATCH 1/1 ARM: davinci: da830-evm: fix GPIO lookup for OHCI
From: Bartosz Golaszewski <[email protected]>
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")
Signed-off-by Bartosz Golaszewski <[email protected]>
--- arch/arm/mach-davinci/board-da830-evm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-davinci/board-da830-evm.c +1 -1
@@ -88,7 +88,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 ), { } }, };
Signature · 1 line
2.21.0
Quoted 8 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
The fixed regulator driver doesn't specify any
con_idfor gpio lookup so it must be NULL in the table entry.Fixes 274e4c336192 ("ARM: davinci: da830-evm: add a fixed regulator for ohci-da8xx")Signed-off-by Bartosz Golaszewski <[email protected]>
The offending commit was introduced in v5.2 so I dropped the stable tag while applying.
Will send pull request tomorrow after some build and testing.
Thanks,
Sekhar