Message ID | 20220908152449.35457-4-farbere@amazon.com |
---|---|
State | Accepted |
Commit | bb9195bd6664d94d71647631593e09f705ff5edd |
Headers | show |
Series | [v5,01/21] dt-bindings: hwmon: (mr75203) fix "intel,vm-map" property to be optional | expand |
diff --git a/drivers/hwmon/mr75203.c b/drivers/hwmon/mr75203.c index 81ccb4c6fa5c..62df0c9498f3 100644 --- a/drivers/hwmon/mr75203.c +++ b/drivers/hwmon/mr75203.c @@ -605,6 +605,8 @@ static int mr75203_probe(struct platform_device *pdev) if (pvt->vm_idx[i] >= vm_num || pvt->vm_idx[i] == 0xff) { num = i; + pvt->v_num = i; + vm_num = i; break; } }