Message ID | 20200121023027.2081-6-linux@roeck-us.net (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | hwmon: k10temp driver improvements | expand |
diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c index 9e8b1c1bcbbd..6076a84cb3ae 100644 --- a/drivers/hwmon/k10temp.c +++ b/drivers/hwmon/k10temp.c @@ -349,7 +349,7 @@ static umode_t k10temp_is_visible(const void *_data, } break; case hwmon_temp_max: - if (channel) + if (channel || data->show_tdie) return 0; break; case hwmon_temp_crit: