Unverified Commit e0771fc9 authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown
Browse files

ASoC: Intel: Skylake: set .ignore_module_refcount field in component



There is no risk of the module being removed while the platform
components are in use. This solves the problem of the snd_soc_skl
module not being removable with rmmod

Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent b450b878
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1464,6 +1464,7 @@ static const struct snd_soc_component_driver skl_component = {
	.ops		= &skl_platform_ops,
	.pcm_new	= skl_pcm_new,
	.pcm_free	= skl_pcm_free,
	.ignore_module_refcount = 1, /* do not increase the refcount in core */
};

int skl_platform_register(struct device *dev)