Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge remote-tracking branch 'regulator/fix/core' into regulator-linus

+7 -3
+7 -3
drivers/regulator/core.c
··· 1381 1381 } 1382 1382 1383 1383 if (!r) { 1384 - dev_err(dev, "Failed to resolve %s-supply for %s\n", 1385 - rdev->supply_name, rdev->desc->name); 1386 - return -EPROBE_DEFER; 1384 + if (have_full_constraints()) { 1385 + r = dummy_regulator_rdev; 1386 + } else { 1387 + dev_err(dev, "Failed to resolve %s-supply for %s\n", 1388 + rdev->supply_name, rdev->desc->name); 1389 + return -EPROBE_DEFER; 1390 + } 1387 1391 } 1388 1392 1389 1393 /* Recursively resolve the supply of the supply */