summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/occ/p9_sbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/occ/p9_sbe.c')
-rw-r--r--drivers/hwmon/occ/p9_sbe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/occ/p9_sbe.c b/drivers/hwmon/occ/p9_sbe.c
index 0ed5e22143ae..b33f4fe63fbb 100644
--- a/drivers/hwmon/occ/p9_sbe.c
+++ b/drivers/hwmon/occ/p9_sbe.c
@@ -69,6 +69,7 @@ static int p9_sbe_occ_probe(struct platform_device *pdev)
occ->bus_dev = &pdev->dev;
platform_set_drvdata(pdev, occ);
+ occ->powr_sample_time_us = 500;
occ->poll_cmd_data = 0x20; /* P9 OCC poll data */
occ->send_cmd = p9_sbe_occ_send_cmd;