thermal: int3400_thermal: Ignore Unknown Notification Codes
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.
Signed-off-by Brian Bian <[email protected]>
--- drivers/thermal/int340x_thermal/int3400_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/int340x_thermal/int3400_thermal.c +1 -1
@@ -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
Quoted 6 lines · Brian Bian
Some BIOS implementations route ACPI codes other than
0x83to INT3400 device. Ignore these ACPI notification codes because the INT3400 driver
does not handle them.Signed-off-by Brian Bian <[email protected]>
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@@ -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;
}
}