summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-09-24 15:39:40 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2019-09-24 15:39:40 -0400
commitbaff384b0e90132be4b623a9406ba84a987ed036 (patch)
tree34445d0c0818f171f5d161b34cca4d5eea6c68b2 /drivers
parentaf5a7e99cce2a24e98487e70f99c8716643cc445 (diff)
parent24a8d78a9affb63e5ced313ccde6888fe96edc6e (diff)
Merge tag 'platform-drivers-x86-v5.4-2' of git://git.infradead.org/linux-platform-drivers-x86
Pull x86 platform-drivers fixes from Andy Shevchenko: - Fix compilation error of ASUS WMI driver when CONFIG_ACPI_BATTERY=n - Fix I²C multi-instantiate driver to work with several USB PD devices - Fix boot issue on Siemens SIMATIC IPC277E when PMC critical clock is being disabled - Plenty of fixes to Intel Speed-Select Technology tools * tag 'platform-drivers-x86-v5.4-2' of git://git.infradead.org/linux-platform-drivers-x86: platform/x86: i2c-multi-instantiate: Derive the device name from parent platform/x86: pmc_atom: Add Siemens SIMATIC IPC277E to critclk_systems DMI table tools/power/x86/intel-speed-select: Fix perf-profile command output tools/power/x86/intel-speed-select: Extend core-power command set tools/power/x86/intel-speed-select: Fix some debug prints tools/power/x86/intel-speed-select: Format get-assoc information tools/power/x86/intel-speed-select: Allow online/offline based on tdp tools/power/x86/intel-speed-select: Fix high priority core mask over count platform/x86: asus-wmi: Make it depend on ACPI battery API
Diffstat (limited to 'drivers')
-rw-r--r--drivers/platform/x86/Kconfig1
-rw-r--r--drivers/platform/x86/i2c-multi-instantiate.c2
-rw-r--r--drivers/platform/x86/pmc_atom.c7
3 files changed, 9 insertions, 1 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 1b67bb578f9f..ae21d08c65e8 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -674,6 +674,7 @@ config EEEPC_LAPTOP
674config ASUS_WMI 674config ASUS_WMI
675 tristate "ASUS WMI Driver" 675 tristate "ASUS WMI Driver"
676 depends on ACPI_WMI 676 depends on ACPI_WMI
677 depends on ACPI_BATTERY
677 depends on INPUT 678 depends on INPUT
678 depends on HWMON 679 depends on HWMON
679 depends on BACKLIGHT_CLASS_DEVICE 680 depends on BACKLIGHT_CLASS_DEVICE
diff --git a/drivers/platform/x86/i2c-multi-instantiate.c b/drivers/platform/x86/i2c-multi-instantiate.c
index 61fe341a85aa..ea68f6ed66ae 100644
--- a/drivers/platform/x86/i2c-multi-instantiate.c
+++ b/drivers/platform/x86/i2c-multi-instantiate.c
@@ -90,7 +90,7 @@ static int i2c_multi_inst_probe(struct platform_device *pdev)
90 for (i = 0; i < multi->num_clients && inst_data[i].type; i++) { 90 for (i = 0; i < multi->num_clients && inst_data[i].type; i++) {
91 memset(&board_info, 0, sizeof(board_info)); 91 memset(&board_info, 0, sizeof(board_info));
92 strlcpy(board_info.type, inst_data[i].type, I2C_NAME_SIZE); 92 strlcpy(board_info.type, inst_data[i].type, I2C_NAME_SIZE);
93 snprintf(name, sizeof(name), "%s-%s.%d", match->id, 93 snprintf(name, sizeof(name), "%s-%s.%d", dev_name(dev),
94 inst_data[i].type, i); 94 inst_data[i].type, i);
95 board_info.dev_name = name; 95 board_info.dev_name = name;
96 switch (inst_data[i].flags & IRQ_RESOURCE_TYPE) { 96 switch (inst_data[i].flags & IRQ_RESOURCE_TYPE) {
diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c
index 9aca5e7ce6d0..07d1b911e72f 100644
--- a/drivers/platform/x86/pmc_atom.c
+++ b/drivers/platform/x86/pmc_atom.c
@@ -422,6 +422,13 @@ static const struct dmi_system_id critclk_systems[] = {
422 DMI_MATCH(DMI_PRODUCT_VERSION, "6ES7647-8B"), 422 DMI_MATCH(DMI_PRODUCT_VERSION, "6ES7647-8B"),
423 }, 423 },
424 }, 424 },
425 {
426 .ident = "SIMATIC IPC277E",
427 .matches = {
428 DMI_MATCH(DMI_SYS_VENDOR, "SIEMENS AG"),
429 DMI_MATCH(DMI_PRODUCT_VERSION, "6AV7882-0"),
430 },
431 },
425 { /*sentinel*/ } 432 { /*sentinel*/ }
426}; 433};
427 434