ASoC: Intel: Skylake: Add api to retrieve dmic array info from nhlt
authorYong Zhi <yong.zhi@intel.com>
Fri, 27 May 2016 04:30:15 +0000 (21:30 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 30 May 2016 17:16:44 +0000 (18:16 +0100)
commitf65cf7d666371562ef83b487a31e73642f3a3564
treef63d27e08341700cb221106be3d180172e1ed892
parent0c7941a63a0f46cfd4c41f30e5fcd55e678d535c
ASoC: Intel: Skylake: Add api to retrieve dmic array info from nhlt

Skylake can be configured with either both 2 and 4 channel DMIC
array, or 2 channel DMIC array only, this patch provides an API to
retrieve the DMIC info from nhlt.

Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-nhlt.c
sound/soc/intel/skylake/skl-nhlt.h
sound/soc/intel/skylake/skl.c
sound/soc/intel/skylake/skl.h