aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/generic/simple-card-utils.c
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2019-07-25 18:59:46 +0200
committerMark Brown <broonie@kernel.org>2019-07-25 18:42:52 +0100
commit3dcfb397dad2ad55bf50de3c5d5a57090d35a18a (patch)
tree59801f74e0df1a5ce5d11ba951cf403f28e513ac /sound/soc/generic/simple-card-utils.c
parentASoC: codec2codec: name link using stream direction (diff)
downloadlinux-dev-3dcfb397dad2ad55bf50de3c5d5a57090d35a18a.tar.xz
linux-dev-3dcfb397dad2ad55bf50de3c5d5a57090d35a18a.zip
ASoC: codec2codec: deal with params when necessary
When there is an event on codec to codec dai_link, we only need to deal with params if the event is SND_SOC_DAPM_PRE_PMU, when .hw_params() is called. For the other events, it is useless. Also, dealing with the codec to codec params just before calling .hw_params() callbacks give change to either party on the link to alter params content in .startup(), which might be useful in some cases Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20190725165949.29699-4-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/generic/simple-card-utils.c')
0 files changed, 0 insertions, 0 deletions