diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2019-04-01 15:03:54 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-02 12:39:50 +0700 |
commit | 6246f283d5e02ac757bd8d9bacde8fdc54c4582d (patch) | |
tree | 8948b433c896ab170d060af31dcf26acf5409ba3 /sound/ac97 | |
parent | c63adb28f6d913310430f14c69f0a2ea55eed0cc (diff) | |
download | linux-6246f283d5e02ac757bd8d9bacde8fdc54c4582d.tar.bz2 |
ASoC: dpcm: skip missing substream while applying symmetry
If for any reason, the backend does not have the requested substream
(like capture on a playback only backend), the BE will be skipped in
dpcm_be_dai_startup().
However, dpcm_apply_symmetry() does not skip those BE and will
dereference the be_substream (NULL) pointer anyway.
Like in dpcm_be_dai_startup(), just skip those BE.
Fixes: 906c7d690c3b ("ASoC: dpcm: Apply symmetry for DPCM")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/ac97')
0 files changed, 0 insertions, 0 deletions