]> git.baikalelectronics.ru Git - kernel.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)
commit85433765c46338145d074c4b54ee746f25fa6bdf
treeb7cc26409e9f38e4c89e8905cf643d91906b2143
parentd008fdaee4d318cf8e775476e740fd847d808e25
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