mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
ALSA: compress: remove the sample rate check
commitf0e9c080- "ALSA: compress: change the way sample rates are sent to kernel" changed the way sample rates are sent. So now we don't need to check for PCM_RATE_xxx in kernel Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> (cherry picked from commit2aac06f787) Signed-off-by: Yuchen Song <yuchens@nvidia.com> Change-Id: I6448d844fb31097bf33e52c23a7e38d6b089ce69
This commit is contained in:
committed by
Dmitry Shmidt
parent
9aed3d0f49
commit
083799f1d4
@@ -490,9 +490,6 @@ static int snd_compress_check_input(struct snd_compr_params *params)
|
||||
if (params->codec.ch_in == 0 || params->codec.ch_out == 0)
|
||||
return -EINVAL;
|
||||
|
||||
if (!(params->codec.sample_rate & SNDRV_PCM_RATE_8000_192000))
|
||||
return -EINVAL;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user