this patchset introduces an auto-detect mechanism to avoid adding quirks over and over. The BIOS provides information on AIF1/AIF2 connection and we set the microphone settings differently on baytrail-CR. This was tested on a variety of platforms and most people should have sound without quirks.
Pierre-Louis Bossart (3): ASoC: Intel: common: add ACPI package extraction utility ASoC: Intel: detect audio routing with CHAN package ASoC: Intel: bytct_rt5640: change default capture settings
sound/soc/intel/boards/bytcr_rt5640.c | 64 ++++++++++++++++++++++++++++++--- sound/soc/intel/common/sst-acpi.h | 17 ++++++++- sound/soc/intel/common/sst-match-acpi.c | 57 +++++++++++++++++++++++++++++ 3 files changed, 132 insertions(+), 6 deletions(-)