]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: codec2codec: remove ephemeral variables
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 25 Jul 2019 16:59:48 +0000 (18:59 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 1 Aug 2019 12:54:44 +0000 (13:54 +0100)
commit7cc9b4fa1e3a1fd06298faeaa92f278b09ac1bad
tree106f93154b345df473c333a91152b42827750645
parenta16d8bc27c604d0c2d8cb92810fcb79fbd547792
ASoC: codec2codec: remove ephemeral variables

Now that codec to codec links struct snd_soc_pcm_runtime have lasting pcm
and substreams, let's use them. Alsa allocate and keep the
struct snd_pcm_runtime as long as the link is powered.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20190725165949.29699-6-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c