ASoC: acpi: fix: continue searching when machine is ignored
authorKeyon Jie <yang.jie@linux.intel.com>
Sat, 17 Nov 2018 00:47:04 +0000 (18:47 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 20 Nov 2018 16:53:17 +0000 (16:53 +0000)
commita3e620f8422832afd832ad5e20aa97d0c72bada8
tree152329c667978e64a8aba61d2830fa16eb5d797c
parent8c4e7c2ee8096b5ca8214418f287b3878d578cc0
ASoC: acpi: fix: continue searching when machine is ignored

The machine_quirk may return NULL which means the acpi entries should be
skipped and search for next matched entry is needed, here add return
check here and continue for NULL case.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-acpi.c