Skip to content

Commit

Permalink
ALSA: compress: remove the sample rate check
Browse files Browse the repository at this point in the history
commit f0e9c08 - "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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
Vinod Koul authored and tiwai committed Jan 5, 2014
1 parent 770bd4b commit 2aac06f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sound/core/compress_offload.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,9 +501,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;
}

Expand Down

0 comments on commit 2aac06f

Please sign in to comment.