]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30df9f92275950223de2bb6dd6e82d7ae04cd047
treecab429c048911803cb3aeaf747913d2c4ac7bf5c
parent9d68decb4ebe3ccadd0125b1eff19f008cf95b3a
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