ASoC: Intel: bytcr_rt5640: Use device-property for differential mics
authorHans de Goede <hdegoede@redhat.com>
Tue, 8 May 2018 15:35:54 +0000 (17:35 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 11 May 2018 02:24:01 +0000 (11:24 +0900)
commit6a7c05e55c0a3d6d4f092d734cd8fee798cf044b
tree0249e094962d929ebe8f082aefd5de12cbfd7a82
parentbcd9a325f0b0f407c4559779a94e802977c67274
ASoC: Intel: bytcr_rt5640: Use device-property for differential mics

Set the "realtek,in1-differential" or "realtek,in3-differential"
device-property when the BYT_RT5640_DIFF_MIC quirk is set instead of
directly poking the codec registers.

This also fixes the BYT_RT5640_DIFF_MIC quirk not working when
combined with BYT_RT5640_IN3_MAP.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c