Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e135443e authored by Bill Gatliff's avatar Bill Gatliff Committed by Mark Brown
Browse files

ASoC: Use SNDRV_PCM_RATE_8000_96000 macro for WM8731

parent 6ca0c22e
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -389,11 +389,7 @@ static int wm8731_set_bias_level(struct snd_soc_codec *codec,
	return 0;
}

#define WM8731_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\
		SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 |\
		SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 |\
		SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 |\
		SNDRV_PCM_RATE_96000)
#define WM8731_RATES SNDRV_PCM_RATE_8000_96000

#define WM8731_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
	SNDRV_PCM_FMTBIT_S24_LE)