]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/pci/rme32.c
fs/ext4/namei.c: remove unnecessary new_valid_dev() check
[karo-tx-linux.git] / sound / pci / rme32.c
index 23d7f5d30c4106e107436999673358e0fb65ff8b..cd94ac548ba383a99ee10886c94343877f760211 100644 (file)
@@ -831,9 +831,9 @@ static struct snd_pcm_hw_constraint_list hw_constraints_period_bytes = {
 static void snd_rme32_set_buffer_constraint(struct rme32 *rme32, struct snd_pcm_runtime *runtime)
 {
        if (! rme32->fullduplex_mode) {
-               snd_pcm_hw_constraint_minmax(runtime,
+               snd_pcm_hw_constraint_single(runtime,
                                             SNDRV_PCM_HW_PARAM_BUFFER_BYTES,
-                                            RME32_BUFFER_SIZE, RME32_BUFFER_SIZE);
+                                            RME32_BUFFER_SIZE);
                snd_pcm_hw_constraint_list(runtime, 0,
                                           SNDRV_PCM_HW_PARAM_PERIOD_BYTES,
                                           &hw_constraints_period_bytes);