diff options
Diffstat (limited to 'include/linux/mfd/intel-peci-client.h')
-rw-r--r-- | include/linux/mfd/intel-peci-client.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mfd/intel-peci-client.h b/include/linux/mfd/intel-peci-client.h index 84b5882bcf31..0a069b87f733 100644 --- a/include/linux/mfd/intel-peci-client.h +++ b/include/linux/mfd/intel-peci-client.h @@ -114,7 +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; + msg.domain_id = priv->client->domain_id; ret = peci_command(priv->client->adapter, PECI_CMD_RD_PKG_CFG, sizeof(msg), &msg); if (msg.cc != PECI_DEV_CC_SUCCESS) @@ -149,7 +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; + msg.domain_id = priv->client->domain_id; ret = peci_command(priv->client->adapter, PECI_CMD_WR_PKG_CFG, sizeof(msg), &msg); if (!ret) { |