Hi,
On 20-03-17 14:18, Andy Shevchenko wrote:
On Mon, 2017-03-20 at 14:11 +0100, Hans de Goede wrote:
On 20-03-17 02:33, Sebastian Reichel wrote:
On Thu, Mar 16, 2017 at 05:15:57PM +0100, Hans de Goede wrote:
we've some extra magic in the fuel-gauge's probe method to see
if it really is the one we want like this:
status = acpi_evaluate_integer(ACPI_HANDLE(dev), "PTYP",
NULL, &ptyp);
Just a side note. Looks like abusing (?) ACPI is not limited to GPIO
resources and stuff. I think we will see more stuff due to Windows
driver developers don't give a sh*t to follow standards, consistency,
and in some cases even common sense. For above case they might have used
_UID or _CID (compatible ID) + _HID (exact ID of the type of device) or
something else which is standard / more common.
Yeah this definitely is ACPI abuse, but nothing we can do about this
I'm afraid.
Regards,
Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html