Re: [PATCH 1/4] ASoC: rt5645: Introduce mapping for ACPI-defined GPIO

From: Mark Brown
Date: Thu Jan 07 2021 - 09:28:57 EST


On Thu, Jan 07, 2021 at 05:06:22PM +0800, Chris Chiu wrote:

> +static const struct acpi_gpio_mapping *cht_rt5645_gpios;
> +

You're adding a read only static variable with no way to set it. This
doesn't actually do anything?

> @@ -3780,7 +3782,6 @@ static const struct dmi_system_id dmi_platform_data[] = {
> },
> .driver_data = (void *)&intel_braswell_platform_data,
> },
> - { }
> };
>

This is an unrelated change which removes the terminator on the array
which will cause issues.

Attachment: signature.asc
Description: PGP signature