mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Revert "ASoC: fix valid stream condition"
This reverts commit 0075f99fb42ddcf77c527740fa9503bbad0f98d0.
This commit is contained in:
parent
fce7f4861b
commit
d5e36b44e5
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user