]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: skip hw_free on codec dai for which the stream is invalid
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 29 Apr 2019 09:47:50 +0000 (11:47 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 3 May 2019 05:52:31 +0000 (14:52 +0900)
commita88706e1068b2e58fdef46a1660de967ba9110c7
treee68aa6e2ed9f287e4820b96f36780957a251e996
parent31eddc567925002535d3b6d3017ce6a636da64c5
ASoC: skip hw_free on codec dai for which the stream is invalid

Like for hw_params, hw_free should not be called on codec dai for
which the current stream is invalid.

Fixes: 9c98dd265df9 ("ASoC: Handle multiple codecs with split playback / capture")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c