From: Guenter Roeck Date: Fri, 19 Jan 2018 14:38:03 +0000 (-0800) Subject: hwmon: (k10temp) Add temperature offset for Ryzen 1900X X-Git-Tag: v4.15.14~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d4e27d30070dc70152fe241be05c791fab3d1b8;p=thirdparty%2Fkernel%2Fstable.git hwmon: (k10temp) Add temperature offset for Ryzen 1900X commit 6509614fdd2d05c6926d50901a45d5dfb852b715 upstream. Like the other CPUs from the same series, the 1900X has a temperature offset of 27 degrees C. Signed-off-by: Guenter Roeck Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c index 144ff80230613..051a72eecb245 100644 --- a/drivers/hwmon/k10temp.c +++ b/drivers/hwmon/k10temp.c @@ -86,6 +86,7 @@ static const struct tctl_offset tctl_offset_table[] = { { 0x17, "AMD Ryzen 7 1800X", 20000 }, { 0x17, "AMD Ryzen Threadripper 1950X", 27000 }, { 0x17, "AMD Ryzen Threadripper 1920X", 27000 }, + { 0x17, "AMD Ryzen Threadripper 1900X", 27000 }, { 0x17, "AMD Ryzen Threadripper 1950", 10000 }, { 0x17, "AMD Ryzen Threadripper 1920", 10000 }, { 0x17, "AMD Ryzen Threadripper 1910", 10000 },