i2cvr: restrict apply time to OnReset

Applying VR firmware updates with Immediate ApplyTime may trigger
power fluctuations in a running system and lead to unstable or
abnormal behavior. To ensure safe updates, the ApplyTime for VR
devices is restricted to OnReset. This guarantees updates occur
only during a system reset, when power rails are stable.

Change-Id: If7e4bc5d8fb5bb187b3baacd9e6f782f41738bcd
Signed-off-by: Kevin Tung <kevin.tung.openbmc@gmail.com>
diff --git a/i2c-vr/i2cvr_device.hpp b/i2c-vr/i2cvr_device.hpp
index 198d1c6..8160a1d 100644
--- a/i2c-vr/i2cvr_device.hpp
+++ b/i2c-vr/i2cvr_device.hpp
@@ -27,8 +27,7 @@
                 ManagerInf::SoftwareManager* parent) :
         DeviceInf::Device(
             ctx, config, parent,
-            {SDBusPlusSoftware::ApplyTime::RequestedApplyTimes::Immediate,
-             SDBusPlusSoftware::ApplyTime::RequestedApplyTimes::OnReset}),
+            {SDBusPlusSoftware::ApplyTime::RequestedApplyTimes::OnReset}),
         vrInterface(VRInf::create(ctx, vrType, bus, address))
     {}