Browse Source

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>
Brian Bian 7 years ago
parent
commit
261ac1d2d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/thermal/int340x_thermal/int3400_thermal.c

+ 1 - 1
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;
 	}
 }