Re: [PATCH 1/1] mfd: core: fix ACPI child matching by _HID/_CID
From: Mika Westerberg
Date: Mon Mar 14 2016 - 11:02:57 EST
On Sun, Mar 13, 2016 at 03:02:58AM +0200, Irina Tirdea wrote:
> If MDF child devices have separate ACPI nodes identified
> by _HID/_CID, they will not be assigned the intended
> ACPI companion.
> acpi_match_device_ids will return 0 if a the child device
> matches the _HID/_CID, so this patch changes the matching
> condition to check for 0 on success.
> Signed-off-by: Irina Tirdea <irina.tirdea@xxxxxxxxx>
Acked-by: Mika Westerberg <mika.westeberg@xxxxxxxxxxxxxxx>