summaryrefslogtreecommitdiff
path: root/sound/ac97
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2019-04-29 11:47:49 +0200
committerMark Brown <broonie@kernel.org>2019-05-03 14:52:03 +0900
commit6a7c59c6d9f3b280e81d7a04bbe4e55e90152dce (patch)
tree9b1f1c8cbf470d5d538b1a60cb2cf76ec029cf44 /sound/ac97
parent30180e8436046344b12813dc954b2e01dfdcd22d (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 'sound/ac97')
0 files changed, 0 insertions, 0 deletions