commit | 2392f7fd695246df4fb5f0b5fb88ce37cdb01764 | [log] [tgz] |
---|---|---|
author | Vinod Koul <vinod.koul@intel.com> | Tue Jul 26 18:06:39 2016 +0530 |
committer | Mark Brown <broonie@kernel.org> | Mon Aug 01 17:23:37 2016 +0100 |
tree | ed57efccf91b56eee22b7f95dc81950600d5c05e | |
parent | e7ca8fcd15049b1e48ae2ef1434a68a51ef0ead5 [diff] |
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>