Re: [PATCH] HID: i2c-hid: use correct type for ACPI _DSM parameter

From: Jiri Kosina
Date: Tue Aug 20 2013 - 06:28:10 EST


On Mon, 19 Aug 2013, Benjamin Tissoires wrote:

> > ACPI 5.0 specification requires the fourth parameter to the _DSM (Device
> > Specific Method) to be of type package instead of integer. Failing to do
> > that we get following warning on the console:
> >
> > ACPI Warning: \_SB_.PCI0.I2C1.TPL0._DSM: Argument #4 type mismatch - Found [Integer],
> > ACPI requires [Package] (20130517/nsarguments-95)
> >
> > Fix this by passing an empty package to the _DSM method. The HID over I2C
> > specification doesn't require any specific values to be passed with this
> > parameter.
> >
> > Signed-off-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
> > ---
>
> Looks simple and straightforward :)
>
> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>

Applied, thanks.

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/