ASoC: Intel: Skylake: Refine skl widget type check
authorGuneshwor Singh <guneshwor.o.singh@intel.com>
Sat, 27 Jan 2018 04:20:21 +0000 (09:50 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 1 Mar 2018 19:40:02 +0000 (19:40 +0000)
commitcb1f904d91c52bc4e03e11eb161288c40c655095
tree89ca781ea216ac059a44837ec37ca887906cdc85
parent5b00ce63e07fac692400db80d3e1fbd1f1f65701
ASoC: Intel: Skylake: Refine skl widget type check

The current check is not effective when all the widgets of a card are
involved since other widgets also can be of same type. So, make widget
type check more stringent by checking dev pointer additionally.

Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c