diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2019-04-29 15:29:39 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-05-03 14:50:47 +0900 |
commit | 30180e8436046344b12813dc954b2e01dfdcd22d (patch) | |
tree | e57846ed8a0a3254be63705cfffa50ac10e84c60 /sound/soc/soc-pcm.c | |
parent | ASoC: da7219: Update the support rate list (diff) | |
download | linux-dev-30180e8436046344b12813dc954b2e01dfdcd22d.tar.xz linux-dev-30180e8436046344b12813dc954b2e01dfdcd22d.zip |
ASoC: hdmi-codec: unlock the device on startup errors
If the hdmi codec startup fails, it should clear the current_substream
pointer to free the device. This is properly done for the audio_startup()
callback but for snd_pcm_hw_constraint_eld().
Make sure the pointer cleared if an error is reported.
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-pcm.c')
0 files changed, 0 insertions, 0 deletions