diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2019-07-25 18:59:46 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-07-25 18:42:52 +0100 |
commit | 3dcfb397dad2ad55bf50de3c5d5a57090d35a18a (patch) | |
tree | 59801f74e0df1a5ce5d11ba951cf403f28e513ac /sound/soc/intel/common/soc-acpi-intel-icl-match.c | |
parent | 054d65004c6a008dfefbdae4fc1b46a3ad4e94c1 (diff) |
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/intel/common/soc-acpi-intel-icl-match.c')
0 files changed, 0 insertions, 0 deletions