summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@intel.com>2022-03-02 22:00:50 +0300
committerjmbills <jasonm.bills@yahoo.com>2022-03-11 00:27:19 +0300
commitd640749c5f44fac25f8bd109c16ecadb5b79da97 (patch)
tree62774c72bb4a584ff0765a094925a8cab76f65aa /include
parent198326a3f02818159f6c775e26f910f101b476d8 (diff)
downloadlinux-d640749c5f44fac25f8bd109c16ecadb5b79da97.tar.xz
peci: add domain ID to peci_command() calls
Since the new struct that includes domain ID will be used within the kernel, calls to peci_command() will use the value provided. This sets domain ID to 0 for all current peci_command() calls. Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/intel-peci-client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/intel-peci-client.h b/include/linux/mfd/intel-peci-client.h
index 79b6c94bc153..84b5882bcf31 100644
--- a/include/linux/mfd/intel-peci-client.h
+++ b/include/linux/mfd/intel-peci-client.h
@@ -114,6 +114,7 @@ peci_client_read_package_config(struct peci_client_manager *priv,
msg.index = index;
msg.param = param;
msg.rx_len = 4;
+ msg.domain_id = 0;
ret = peci_command(priv->client->adapter, PECI_CMD_RD_PKG_CFG, sizeof(msg), &msg);
if (msg.cc != PECI_DEV_CC_SUCCESS)
@@ -148,6 +149,7 @@ peci_client_write_package_config(struct peci_client_manager *priv,
msg.param = param;
msg.tx_len = 4u;
msg.value = data;
+ msg.domain_id = 0;
ret = peci_command(priv->client->adapter, PECI_CMD_WR_PKG_CFG, sizeof(msg), &msg);
if (!ret) {