]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Fix passing loadable flag for module
authorGustaw Lewandowski <gustaw.lewandowski@linux.intel.com>
Wed, 18 Aug 2021 07:57:37 +0000 (09:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 10:26:34 +0000 (12:26 +0200)
commit6efe47610f09d0cdebb77da240e2fe992fc768be
treed40732bb203d1d0a25b04e5e8c533ee2483d6683
parent171a0e55f3cecb23bc8952b90bd99c3f94838791
ASoC: Intel: Skylake: Fix passing loadable flag for module

[ Upstream commit c5ed9c547cba1dc1238c6e8a0c290fd62ee6e127 ]

skl_get_module_info() tries to set mconfig->module->loadable before
mconfig->module has been assigned thus flag was always set to false
and driver did not try to load module binaries.

Signed-off-by: Gustaw Lewandowski <gustaw.lewandowski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Tested-by: Lukasz Majczak <lma@semihalf.com>
Link: https://lore.kernel.org/r/20210818075742.1515155-7-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/intel/skylake/skl-pcm.c