From 00f0815b9f34dce75e77001fa56dbc1f44bba2ff Mon Sep 17 00:00:00 2001 From: Tom Joseph Date: Thu, 4 May 2017 18:54:30 +0530 Subject: Set the TurboAllowed sensor value correctly. Set the TurboAllowed to True for an assertion event and set it to false for a deassertion event. Resolves openbmc/openbmc#1530 Change-Id: I3ee59e8770e75b02cdf83a956439f79779d2760c Signed-off-by: Tom Joseph --- ipmisensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipmisensor.cpp') diff --git a/ipmisensor.cpp b/ipmisensor.cpp index fab73d6..f39832f 100644 --- a/ipmisensor.cpp +++ b/ipmisensor.cpp @@ -178,7 +178,7 @@ lookup_t g_ipmidbuslookup[] = { {0xe9, 0x00, set_sensor_dbus_state_simple, "setValue", "Disabled", ""}, // OCC Inactive 0 {0xe9, 0x01, set_sensor_dbus_state_simple, "setValue", "Enabled", ""}, // OCC Active 1 // Turbo Allowed - {0xda, 0x00, set_sensor_dbus_state_simple, "setValue", "False", ""}, + {0xda, 0x00, set_sensor_dbus_state_simple, "setValue", "True", "False"}, // Power Supply Derating {0xb4, 0x00, set_sensor_dbus_state_simple, "setValue", "", ""}, // Power Cap -- cgit v1.2.1