commit | 30180e8436046344b12813dc954b2e01dfdcd22d | [log] [tgz] |
---|---|---|
author | Jerome Brunet <jbrunet@baylibre.com> | Mon Apr 29 15:29:39 2019 +0200 |
committer | Mark Brown <broonie@kernel.org> | Fri May 03 14:50:47 2019 +0900 |
tree | e57846ed8a0a3254be63705cfffa50ac10e84c60 | |
parent | cd8926e38e8cc53413a2a4ed2f705db7437a55fb [diff] |
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>