Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7da29e76 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: iio: imu: power off regulator only if regulator_check is enabled"

parents 036d0f1e 3a54854b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1219,6 +1219,7 @@ int st_asm330lhh_probe(struct device *dev, int irq,
	return 0;

regulator_shutdown:
	if (asm330_check_regulator)
		st_asm330lhh_regulator_power_down(hw);

	return err;