]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Check list empty while getting module info
authorVinod Koul <vinod.koul@intel.com>
Tue, 26 Jul 2016 12:36:39 +0000 (18:06 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 1 Aug 2016 16:23:37 +0000 (17:23 +0100)
commit92798223e7171db5901020f7d06397c7d8b3af41
treeed57efccf91b56eee22b7f95dc81950600d5c05e
parent8de2aaa04e472720ab8bbf6a48163a80b2bc9a27
ASoC: Intel: Skylake: Check list empty while getting module info

Module list can be NULL so check if the list is empty before
accessing the list.

Signed-off-by: Senthilnathan Veppur <senthilnathanx.veppur@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-sst-utils.c