ARM: davinci: da830-evm: add missing regulator constraints for OHCI
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 25 Jun 2019 16:49:14 +0000 (18:49 +0200)
committerSekhar Nori <nsekhar@ti.com>
Tue, 2 Jul 2019 14:48:33 +0000 (20:18 +0530)
We need to enable status changes for the fixed power supply for the USB
controller.

Fixes: 274e4c336192 ("ARM: davinci: da830-evm: add a fixed regulator for ohci-da8xx")
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 51a892702e2782f7337215f734fab30e835b7a1c..b9891209f775d1e9cdae38ad956a01816b5ba053 100644 (file)
@@ -61,6 +61,9 @@ static struct regulator_consumer_supply da830_evm_usb_supplies[] = {
 static struct regulator_init_data da830_evm_usb_vbus_data = {
        .consumer_supplies      = da830_evm_usb_supplies,
        .num_consumer_supplies  = ARRAY_SIZE(da830_evm_usb_supplies),
+       .constraints    = {
+               .valid_ops_mask = REGULATOR_CHANGE_STATUS,
+       },
 };
 
 static struct fixed_voltage_config da830_evm_usb_vbus = {