Commit 2b070f67 authored by Oder Chiou's avatar Oder Chiou Committed by Mark Brown

ASoC: rt5677-spi: Add ACPI ID

Add the ACPI ID for the product "chromebook pixel 2015" to match the
coreboot settings.
Signed-off-by: default avatarOder Chiou <oder_chiou@realtek.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ad6bb306
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <linux/sysfs.h> #include <linux/sysfs.h>
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/firmware.h> #include <linux/firmware.h>
#include <linux/acpi.h>
#include "rt5677-spi.h" #include "rt5677-spi.h"
...@@ -226,9 +227,16 @@ static int rt5677_spi_probe(struct spi_device *spi) ...@@ -226,9 +227,16 @@ static int rt5677_spi_probe(struct spi_device *spi)
return 0; return 0;
} }
static const struct acpi_device_id rt5677_spi_acpi_id[] = {
{ "RT5677AA", 0 },
{ }
};
MODULE_DEVICE_TABLE(acpi, rt5677_spi_acpi_id);
static struct spi_driver rt5677_spi_driver = { static struct spi_driver rt5677_spi_driver = {
.driver = { .driver = {
.name = "rt5677", .name = "rt5677",
.acpi_match_table = ACPI_PTR(rt5677_spi_acpi_id),
}, },
.probe = rt5677_spi_probe, .probe = rt5677_spi_probe,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment