]> 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)
commit568e3844e98f2dc1f9ab75816a1c34e29f9bd22c
treeb7cc26409e9f38e4c89e8905cf643d91906b2143
parent33d5bd674b232d260e36bc5146aef836b4c108be
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