commit | 6a7c59c6d9f3b280e81d7a04bbe4e55e90152dce | [log] [tgz] |
---|---|---|
author | Jerome Brunet <jbrunet@baylibre.com> | Mon Apr 29 11:47:49 2019 +0200 |
committer | Mark Brown <broonie@kernel.org> | Fri May 03 14:52:03 2019 +0900 |
tree | 9b1f1c8cbf470d5d538b1a60cb2cf76ec029cf44 | |
parent | 30180e8436046344b12813dc954b2e01dfdcd22d [diff] |
ASoC: fix valid stream condition A stream may specify a rate range using 'rate_min' and 'rate_max', so a stream may be valid and not specify any rates. However, as stream cannot be valid and not have any channel. Let's use this condition instead to determine if a stream is valid or not. Fixes: cde79035c6cf ("ASoC: Handle multiple codecs with split playback / capture") Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>