]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: soc-component: Convert the mark_module to void*
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Wed, 1 Sep 2021 09:52:54 +0000 (12:52 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 20 Sep 2021 12:30:17 +0000 (13:30 +0100)
commita739fdc26211952edb34bf1ac9ed7afe220a5d54
treeb7cc26409e9f38e4c89e8905cf643d91906b2143
parent2266721938b9d12ebf4f2cd96b88912ffa4f5e91
ASoC: soc-component: Convert the mark_module to void*

The mark_module of the snd_soc_component is strict snd_pcm_substream type
which prevents it to be used by compressed streams.

Change the type to void* along with the snd_soc_component_module_get()
and snd_soc_component_module_put() to allow the same mark to be used by
compressed when it's module_get_upon_open is set to 1.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20210901095255.3617-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-component.h
sound/soc/soc-component.c