]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: Intel: Skylake: Check for module list being NULL
authorVinod Koul <vinod.koul@intel.com>
Tue, 14 Jun 2016 16:03:45 +0000 (21:33 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 14 Jun 2016 17:00:45 +0000 (18:00 +0100)
commita35aeaee94dd5806907c400caf8293d7d7a60ebc
tree8a4b8739d809e848b11d6a6f244dc8dc0c1d4dba
parent3513798ca4bceae7cb66a7f430160f60f788cede
ASoC: Intel: Skylake: Check for module list being NULL

While clearing loaded module count, we should check first to see
if module list is NULL or not. Some distributions can ship with
no modules and thus list can be empty.

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