On 5/5/16 5:53 AM, Adam Thomson wrote:
This adds "DLGS7219" ACPI id for the codec.
A valid ACPI ID, the first in a long time on this mailing list :-)
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@xxxxxxxxxxx> Tested-by: Sathyanarayana Nujella <sathyanarayana.nujella@xxxxxxxxx> --- sound/soc/codecs/da7219.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c index bc32322..da268b8 100644 --- a/sound/soc/codecs/da7219.c +++ b/sound/soc/codecs/da7219.c @@ -1428,6 +1428,12 @@ static const struct of_device_id da7219_of_match[] = { }; MODULE_DEVICE_TABLE(of, da7219_of_match); +static const struct acpi_device_id da7219_acpi_match[] = { + { .id = "DLGS7219", }, + { } +}; +MODULE_DEVICE_TABLE(acpi, da7219_acpi_match); + static enum da7219_micbias_voltage da7219_of_micbias_lvl(struct device *dev, u32 val) { @@ -1957,6 +1963,7 @@ static struct i2c_driver da7219_i2c_driver = { .driver = { .name = "da7219", .of_match_table = of_match_ptr(da7219_of_match), + .acpi_match_table = ACPI_PTR(da7219_acpi_match), }, .probe = da7219_i2c_probe, .remove = da7219_i2c_remove, -- 1.9.3 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel