summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2019-07-25 18:59:47 +0200
committerMark Brown <broonie@kernel.org>2019-08-01 13:54:25 +0100
commita342031cdd0818cb0fbcb44798211c7a02c7ca27 (patch)
treea5f4e89d4fb309ec641930c339137696335d495a /include/sound
parentcaa918ef14065b812737f3ee4ac349dcfff196e6 (diff)
ASoC: create pcm for codec2codec links as well
At the moment, codec to codec links uses an ephemeral variable for the struct snd_pcm_substream. Also the struct snd_soc_pcm_runtime does not have real struct snd_pcm. This might a problem if the functions used by a codec on codec to codec link expect these structures to exist, and keep on existing during the life of the codec. For example, it is the case of the hdmi-codec, which uses snd_pcm_add_chmap_ctls(). For the controls to works, the pcm and substream must to exist. This change is first step, it create pcm (and substreams) for codec to codec links, in the same way as dpcm backend links. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20190725165949.29699-5-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions