OSDN Git Service

ACPI / scan: Create platform device for CS35L41
authorLucas Tanure <tanureal@opensource.cirrus.com>
Fri, 21 Jan 2022 17:24:31 +0000 (17:24 +0000)
committerHans de Goede <hdegoede@redhat.com>
Wed, 2 Feb 2022 17:12:41 +0000 (18:12 +0100)
commitd9c01c530cc5e3b6d5bdfeae12c3d0f33fae7498
treea60bc6c9039f62dec55cddb2083470d047147e34
parent07bcab93946cd9980f8eafe89afe991cd918acb0
ACPI / scan: Create platform device for CS35L41

The ACPI device with CSC3551 or CLSA0100 are sound cards
with multiple instances of CS35L41 connected by I2C or SPI
to the main CPU.

We add an ID to the ignore_serial_bus_ids list to enumerate
all I2C or SPI devices correctly.

The same IDs are also added into serial-multi-instantiate
so that the driver can correctly enumerate the ACPI.

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220121172431.6876-10-sbinding@opensource.cirrus.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/acpi/scan.c
drivers/platform/x86/serial-multi-instantiate.c