ASoC: Intel: bytcr_rt5640: Use device properties for setting up dmic
authorHans de Goede <hdegoede@redhat.com>
Sun, 13 May 2018 07:24:26 +0000 (09:24 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 17 May 2018 06:46:22 +0000 (15:46 +0900)
commita3ad29113ddc45a7b8469703b4a3f5e0c1078bcc
treecab429c048911803cb3aeaf747913d2c4ac7bf5c
parentbdfe4d9ade5cca1a53205de9b30e761358d23ec7
ASoC: Intel: bytcr_rt5640: Use device properties for setting up dmic

Use device-properties for setting up the dmic, based on the
BYT_RT5640_MAP() value, instead of using the codec specific
rt5640_dmic_enable() function for this.  This also removes the need
for the BYT_RT5640_DMIC_EN quirk, which was always set together with
a MAP() quirk of DMIC1_MAP or DMIC2_MAP.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c