[PATCH openEuler-22.03-LTS-SP1 299/371] regulator: core: Prevent integer underflow