There are few issues with current approach: - ACPI enumeration should be done by IDs, and not by instances - Platform code with board related stuff should reside in corresponding module Fix those issues here. Andy Shevchenko (3): ASoC: rt5677: Introduce proper table for ACPI enumeration ASoC: rt5677: Move platform code to board file ASoC: Intel: bdw-rt5677: Switch to devm_acpi_dev_add_driver_gpios() sound/soc/codecs/rt5677.c | 32 +++++++------------------------- sound/soc/intel/boards/bdw-rt5677.c | 26 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 25 deletions(-) -- 2.11.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel