pseq: Clear power supply error at power on

After a successful tranisition to power on state, clear any set power
supply error. This resets the monitoring and follows the usual
assumption that hardware could have changed while the power was off.

Signed-off-by: Jim Wright <jlwright@us.ibm.com>
Change-Id: I75f0f4cff91bb914d8edc422b13b4ff71267029a
diff --git a/phosphor-power-sequencer/src/power_control.cpp b/phosphor-power-sequencer/src/power_control.cpp
index aa6a8a3..838078e 100644
--- a/phosphor-power-sequencer/src/power_control.cpp
+++ b/phosphor-power-sequencer/src/power_control.cpp
@@ -186,6 +186,8 @@
         else
         {
             emitPowerGoodSignal();
+            // Clear any power supply error on the transition to power on
+            powerSupplyError.clear();
         }
         emitPropertyChangedSignal("pgood");
     }