aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott D Phillips <scott.d.phillips@intel.com>2015-10-06 17:50:33 -0700
committerLee Campbell <leecam@google.com>2015-10-12 13:26:57 -0700
commit285401dc5e241c8afd753302c52a9e6b9a824295 (patch)
treeb6054b6e2309abf2204e38260eeac17ae23cab13
parentbe333f960142233ce87d6794753ddab552357dec (diff)
downloadedison-v3.10-285401dc5e241c8afd753302c52a9e6b9a824295.tar.gz
HACK: scu: write reboot target_mode to a different offset
For reasons unknown the changes to target_mode aren't effective and it is always coming back as the same value on reboot for me. Changes to a byte in the reserved field are working ok though. Change-Id: Idec00926a6fbb47dd4bb7eee9e9b0e9aa87e0dc8 Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com> Reviewed-on: https://android.intel.com/420448 Tested-by: cactus <cactus@intel.com> Reviewed-by: Wood, Brian J <brian.j.wood@intel.com> Reviewed-by: Zhang, Jianxun <jianxun.zhang@intel.com>
-rw-r--r--drivers/platform/x86/intel_scu_ipcutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel_scu_ipcutil.c b/drivers/platform/x86/intel_scu_ipcutil.c
index 8d4c96c4246..7b8ed849c23 100644
--- a/drivers/platform/x86/intel_scu_ipcutil.c
+++ b/drivers/platform/x86/intel_scu_ipcutil.c
@@ -1196,7 +1196,7 @@ int intel_scu_ipc_write_osnib_rr(u8 rr)
return oshob_info->scu_ipc_write_osnib(
&rr,
1,
- offsetof(struct scu_ipc_osnib, target_mode));
+ offsetof(struct scu_ipc_osnib, intel_reserved));
}
}