Re: [PATCH] HID: i2c-hid: Do not set the ACPI companion field in the HID device

From: Jiri Kosina
Date: Wed Jun 03 2015 - 04:46:56 EST


On Tue, 2 Jun 2015, Andrew Duggan wrote:

> The HID device does not need to know about the ACPI device associated with
> the underlying i2c device. Setting the ACPI companion field in the HID device
> also has the side effect of causing HID to be set as wake capable, since
> acpi_bind_one uses's the companion ACPI device's wakeup flags to set the
> device as wake capable. Which results in power/wakeup files in sysfs for
> the HID device which do not do anything.
>
> Signed-off-by: Andrew Duggan <aduggan@xxxxxxxxxxxxx>

Applied to for-4.2/i2c-hid.

--
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/