ASoC: Intel: byt-rt5640: Enable DMIC interface for default DAPM route
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Wed, 1 Oct 2014 12:08:15 +0000 (15:08 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 1 Oct 2014 16:04:34 +0000 (17:04 +0100)
commita5f0ab05b67213ef33107b716e8596a480b5875f
tree33577e0e29f4822ec787f29e5eb7541147323a7b
parent1400760c4637e1b3aa4460176d4f81ded58df393
ASoC: Intel: byt-rt5640: Enable DMIC interface for default DAPM route

It turned out DMIC interface wasn't enabled/disabled runtime for active
DMIC route in the rt5640 codec driver anymore after commit
71d97a794301 ("ASoC: rt5640: Use the platform data for DMIC settings").

Since DMIC interface must be enabled explicitly either by passing platform
data to rt5640 codec driver or by calling new rt5640_dmic_enable() this
patch adds a DMI quirk flag that is used to conditionally enable DMIC
interface during sound card init time.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/byt-rt5640.c