aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorBrian Bian <brian.bian@linux.intel.com>2017-11-14 09:36:36 -0800
committerZhang Rui <rui.zhang@intel.com>2017-12-27 10:14:58 +0800
commit261ac1d2d9ef9a29c57f8aff341ae3dc323a707c (patch)
tree455f464a6ee9d71a518b49e26b64554bac1f1adf /drivers/thermal
parentLinux 4.15-rc5 (diff)
downloadlinux-dev-261ac1d2d9ef9a29c57f8aff341ae3dc323a707c.tar.xz
linux-dev-261ac1d2d9ef9a29c57f8aff341ae3dc323a707c.zip
thermal: int3400_thermal: Ignore Unknown Notification Codes
Some BIOS implementations route ACPI codes other than 0x83 to INT3400 device. Ignore these ACPI notification codes because the INT3400 driver does not handle them. Signed-off-by: Brian Bian <brian.bian@linux.intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/int340x_thermal/int3400_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/int340x_thermal/int3400_thermal.c b/drivers/thermal/int340x_thermal/int3400_thermal.c
index 8ee38f55c7f3..c9db1c643501 100644
--- a/drivers/thermal/int340x_thermal/int3400_thermal.c
+++ b/drivers/thermal/int340x_thermal/int3400_thermal.c
@@ -211,7 +211,7 @@ static void int3400_notify(acpi_handle handle,
thermal_prop);
break;
default:
- dev_err(&priv->adev->dev, "Unsupported event [0x%x]\n", event);
+ /* Ignore unknown notification codes sent to INT3400 device */
break;
}
}