ASoC: Intel: Skylake: Check device type to get endpoint configuration
authorSenthilnathan Veppur <senthilnathanx.veppur@intel.com>
Thu, 9 Feb 2017 11:14:01 +0000 (16:44 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 16 Feb 2017 18:58:09 +0000 (18:58 +0000)
commitdb2f586b803eb6a7974098dd8ce1201f048071d0
tree5a52fc06e122c3eb52e3d874c7da1880eb16bd1e
parentc5cf9f37a0fb6e50d68f6dcf58b93b2c47c780a1
ASoC: Intel: Skylake: Check device type to get endpoint configuration

Geminilake has two different devices connected to the same SSP, so use
device_type check to get correct device configuration.

Signed-off-by: Senthilnathan Veppur <senthilnathanx.veppur@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-nhlt.c
sound/soc/intel/skylake/skl-topology.c
sound/soc/intel/skylake/skl.h