(CR):[Kane]kernel: match micbias ext-cap name
authorzhangjiaquan <zhangjiaquan@huaqin.com>
Wed, 7 Nov 2018 09:39:23 +0000 (04:39 -0500)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:29:54 +0000 (17:29 +0800)
match the name of ext-cap in dtsi and medera core

Change-Id: Ief7a4297191e32ba3c8cd1d0e2ad2f1bdae6a737
Signed-off-by: zhangjiaquan <zhangjiaquan@huaqin.com>
drivers/mfd/madera-core.c

index e64c0e316ccb2283a611ef37a971c48f3c8c7db7..7c327fb6d0e6a724664be7005438e86e594cab57 100755 (executable)
@@ -501,7 +501,7 @@ static void madera_prop_get_micbias_gen(struct madera *madera,
 
        desc.name = name;
        pdata->init_data = of_get_regulator_init_data(madera->dev, np, &desc);
-       pdata->ext_cap = of_property_read_bool(np, "wlf,ext-cap");
+       pdata->ext_cap = of_property_read_bool(np, "cirrus,ext-cap");
        of_property_read_u32(np, "regulator-active-discharge",
                             &pdata->active_discharge);
 }