diff options
author | Vinod Koul <vinod.koul@intel.com> | 2014-01-04 06:29:11 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-01-05 05:58:08 -0500 |
commit | 2aac06f787940543fb37bfdb982eb99431bc6094 (patch) | |
tree | 4fbbbcbf917083be350dab7abd3e577ea626175b /sound/core | |
parent | 770bd4bf2e664939a9dacd3d26ec9ff7a3933210 (diff) |
ALSA: compress: remove the sample rate check
commit f0e9c080 - "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>
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/compress_offload.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/core/compress_offload.c b/sound/core/compress_offload.c index 9d518ac73eea..7a20897d33db 100644 --- a/sound/core/compress_offload.c +++ b/sound/core/compress_offload.c | |||
@@ -501,9 +501,6 @@ static int snd_compress_check_input(struct snd_compr_params *params) | |||
501 | if (params->codec.ch_in == 0 || params->codec.ch_out == 0) | 501 | if (params->codec.ch_in == 0 || params->codec.ch_out == 0) |
502 | return -EINVAL; | 502 | return -EINVAL; |
503 | 503 | ||
504 | if (!(params->codec.sample_rate & SNDRV_PCM_RATE_8000_192000)) | ||
505 | return -EINVAL; | ||
506 | |||
507 | return 0; | 504 | return 0; |
508 | } | 505 | } |
509 | 506 | ||