[alsa-devel] [PATCH 08/20] ASoC: S3C64XX: I2S: Move RATE and FMT defines to header
broonie at opensource.wolfsonmicro.com
Wed Mar 10 11:51:10 CET 2010
On Wed, Mar 10, 2010 at 04:48:57PM +0900, Jassi Brar wrote:
> In order for the RATE and FMT defines to be reuseable in future by the
> i2sv4 driver, move the MACROs out to the header file.
I'll apply this but for the rates...
> -#define S3C64XX_I2S_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)
This is just SNDRV_PCM_RATE_8000_96000 anyway so may as well use it
More information about the Alsa-devel