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>
This commit is contained in:
Brian Bian 2017-11-14 09:36:36 -08:00 committed by Zhang Rui
parent 464e1d5f23
commit 261ac1d2d9

View 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;
}
}