ASoC: Intel: bytcr_rt5651: add MCLK, quirks and cleanups
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 12 Oct 2017 23:37:57 +0000 (18:37 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 18 Oct 2017 11:29:25 +0000 (12:29 +0100)
commit02c0a3b3047f8fe49fdc040414ee243f2b2c64ce
treee45fc58bc597797a5480d03b304cb4d1f1c18d86
parentfc3c546a22154398324d01d89aa1ec4757033e40
ASoC: Intel: bytcr_rt5651: add MCLK, quirks and cleanups

Same as for other codecs, enable MCLK by default. When it is not
present, e.g. on MinnowBoard B3 since it's not routed on the LSE
connector, we fall back to blck-based clocking.

The DMIC quirks are also fixed, there is a single DMIC input of the
codec.

reorder variables in reverse x-mas tree as suggested by Andy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5651.c