]> 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)
commit5748ea8f1805ec50c1db55027de640a1894c3335
tree152329c667978e64a8aba61d2830fa16eb5d797c
parent8fe3145c671579d75abf7e62d8963c56b3bfe151
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