Skip to contentSkip to conversation

thermal: int3400_thermal: Ignore Unknown Notification Codes

PATCH Applied Brian Bian 2 participants 2 messages Nov 14, 2017 – Dec 27, 2017 Thermal

lore
Share & tools
lore

Brian Bian

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/thermal/int340x_thermal/int3400_thermal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/int340x_thermal/int3400_thermal.c +1 -1
index 8ee38f5..c9db1c6 100644
@@ -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;
 	}
 }
Signature · 1 line
2.7.4
reviewer Applied
#1 lore raw
Quoted 6 lines · Brian Bian

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.

applied.

thanks,
rui

Quoted 20 lines

---
 drivers/thermal/int340x_thermal/int3400_thermal.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/int340x_thermal/int3400_thermal.c +0 -0
index 8ee38f5..c9db1c6 100644
@@ -211,7 +211,7 @@ static void int3400_notify(acpi_handle handle,
  				thermal_prop);
  		break;

  default:

drivers/thermal/int340x_thermal/int3400_thermal.c +0 -1
-		dev_err(&priv->adev->dev, "Unsupported event

[0x%x]\n", event);

drivers/thermal/int340x_thermal/int3400_thermal.c +1 -0
+		/* Ignore unknown notification codes sent to INT3400

device */
  break;
  }
 }