Revert "ASoC: fix valid stream condition"

This reverts commit 0075f99fb42ddcf77c527740fa9503bbad0f98d0.
This commit is contained in:
Adithya R 2021-04-19 23:10:40 +05:30 committed by Richard Raya
parent fce7f4861b
commit d5e36b44e5

View File

@ -75,8 +75,8 @@ static bool snd_soc_dai_stream_valid(struct snd_soc_dai *dai, int stream)
else
codec_stream = &dai->driver->capture;
/* If the codec specifies any channels at all, it supports the stream */
return codec_stream->channels_min;
/* If the codec specifies any rate at all, it supports the stream. */
return codec_stream->rates;
}
/**