On some platforms observed, like qcom and rpi
for example, calls to regulator_get_exclusive() fails.
Changing regulator_get_exclusive() to ordinal regulator_get()
will illuminate dependency on unexpected platforms behaviour.
Change-Id: I8fe9ef78d8aa3c1f39c64b24ef7458013e4b6135
Signed-off-by: Vitaly Rodionov <vitaly.rodionov@cirrus.com>
* one of its children. Meaning that the regulator will be
* destroyed by the time devres calls regulator put.
*/
- madera->dcvdd = regulator_get_exclusive(madera->dev, "DCVDD");
+ madera->dcvdd = regulator_get(madera->dev, "DCVDD");
if (IS_ERR(madera->dcvdd)) {
ret = PTR_ERR(madera->dcvdd);
dev_err(dev, "Failed to request DCVDD: %d\n", ret);