ASoC: Intel: Skylake: Do not check dev_type for dmic link type
authorGuneshwor Singh <guneshwor.o.singh@intel.com>
Wed, 6 Dec 2017 11:04:04 +0000 (16:34 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 6 Dec 2017 17:46:04 +0000 (17:46 +0000)
commite02b03303f13b6a571f01b4d84b69440696d2dde
tree66bffbc1ced51706beacffd5eabbd814c652af20
parent4c761ebfcb2d04ee36783c4c8c45ae00caf59d36
ASoC: Intel: Skylake: Do not check dev_type for dmic link type

Some BIOS have inconsistent dev_type value for DMIC link type.
Since there is only one device type for DMIC link type, remove device
type check if link type is NHLT_LINK_DMIC.

Signed-off-by: Guneshwor Singh <guneshwor.o.singh@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