diff options
| author | 2019-04-29 11:47:49 +0200 | |
|---|---|---|
| committer | 2019-05-03 14:52:03 +0900 | |
| commit | 6a7c59c6d9f3b280e81d7a04bbe4e55e90152dce (patch) | |
| tree | 9b1f1c8cbf470d5d538b1a60cb2cf76ec029cf44 /include/linux | |
| parent | ASoC: hdmi-codec: unlock the device on startup errors (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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
