Skip to content

Commit

Permalink
ALSA: compress: remove the sample rate check
Browse files Browse the repository at this point in the history
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

Bug: 17398311.

Signed-off-by: Vinod Koul <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Eric Laurent <[email protected]>

Change-Id: Ia45e14af954f0caf9aa73b719ec91f65986bc319
  • Loading branch information
Vinod Koul authored and invisiblek committed Jun 6, 2016
1 parent 2745769 commit ad5672d
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 @@ -475,9 +475,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 ad5672d

Please sign in to comment.