Re: [PATCH 08/20] ASoC: S3C64XX: I2S: Move RATE and FMT defines to header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
directly.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux