summaryrefslogtreecommitdiffstats
path: root/ipmisensor.cpp
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2017-05-04 18:54:30 +0530
committerTom Joseph <tomjoseph@in.ibm.com>2017-05-04 18:54:30 +0530
commit00f0815b9f34dce75e77001fa56dbc1f44bba2ff (patch)
tree08d1a8cb82540276f8dcc492663c83ba045fa43a /ipmisensor.cpp
parent5cc059322a8f8e9f03235f12e78f6d4011d687d0 (diff)
downloadphosphor-host-ipmid-00f0815b9f34dce75e77001fa56dbc1f44bba2ff.zip
phosphor-host-ipmid-00f0815b9f34dce75e77001fa56dbc1f44bba2ff.tar.gz
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 <tomjoseph@in.ibm.com>
Diffstat (limited to 'ipmisensor.cpp')
-rw-r--r--ipmisensor.cpp2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud