]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0280b6001224a4259b17e2c8c6103ab774d7dab7
tree152329c667978e64a8aba61d2830fa16eb5d797c
parentd1f9ff1d31cf581fddd5585ebac2273dd70e0eb4
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