diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2019-04-29 15:29:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-31 06:46:10 -0700 |
commit | 49c0fa1f35c1893051696318cfc8adb409bdaec3 (patch) | |
tree | aad4244ef7f711c521a6af60eb751734cb84d7a5 /LICENSES/preferred | |
parent | 663411719895b93e3e57709441585377a8e867f0 (diff) | |
download | linux-stable-49c0fa1f35c1893051696318cfc8adb409bdaec3.tar.gz linux-stable-49c0fa1f35c1893051696318cfc8adb409bdaec3.tar.bz2 linux-stable-49c0fa1f35c1893051696318cfc8adb409bdaec3.zip |
ASoC: hdmi-codec: unlock the device on startup errors
[ Upstream commit 30180e8436046344b12813dc954b2e01dfdcd22d ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'LICENSES/preferred')
0 files changed, 0 insertions, 0 deletions