]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
thermal: int3400_thermal: Ignore Unknown Notification Codes
authorBrian Bian <brian.bian@linux.intel.com>
Tue, 14 Nov 2017 17:36:36 +0000 (09:36 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 27 Dec 2017 02:14:58 +0000 (10:14 +0800)
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>
drivers/thermal/int340x_thermal/int3400_thermal.c

index 8ee38f55c7f36c5e244711bb45bc3171b4d32ba1..c9db1c64350107ebc189db19a45267f612c76016 100644 (file)
@@ -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;
        }
 }