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

Commit 03ffcf3d authored by Krystian Garbaciak's avatar Krystian Garbaciak Committed by Mark Brown
Browse files

regulator: Fix a typo in regulator_mode_to_status() core function.



Case REGULATOR_STATUS_STANDBY -> REGULATOR_MODE_STANDBY.

Signed-off-by: default avatarKrystian Garbaciak <krystian.garbaciak@diasemi.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent e2c98eaf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2894,7 +2894,7 @@ int regulator_mode_to_status(unsigned int mode)
		return REGULATOR_STATUS_NORMAL;
	case REGULATOR_MODE_IDLE:
		return REGULATOR_STATUS_IDLE;
	case REGULATOR_STATUS_STANDBY:
	case REGULATOR_MODE_STANDBY:
		return REGULATOR_STATUS_STANDBY;
	default:
		return 0;