Re: [PATCH v2] platform/x86: intel_cht_int33fe: Work around BIOS bug on some devices
From: Mika Westerberg
Date: Mon Sep 04 2017 - 08:00:04 EST
On Sat, Sep 02, 2017 at 06:20:40PM +0200, Hans de Goede wrote:
> At least one BIOS enumerates the max17047 both through the INT33FE ACPI
> device (it is right there in the resources table) as well as through a
> separate MAX17047 device.
>
> This commit checks for the max17047 already being enumerated through
> a separate MAX17047 ACPI device and if so it uses the i2c-client
> instantiated for this and attaches the device-props for the max17047 to
> that i2c-client.
>
> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
I won't say this looks good to me, but since this seems to be the only
sane way to deal with the crappy BIOS,
Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>