]> 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)
commitd88b6399a5871dd1ece2f5b25e8796d3fa478320
treee68aa6e2ed9f287e4820b96f36780957a251e996
parenta57bfd14d937993e8523b129f22f44e4bbc1637e
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: 12af2080f5bf ("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