diff options
author | Jassi Brar <jassi.brar@samsung.com> | 2010-03-10 02:48:54 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-03-10 06:59:56 -0500 |
commit | 4793d6afbd7d66d64799a9dd1881888c28c4e1d0 (patch) | |
tree | ad5f9a53a3a497dbe25142f8eda9d981b36ef061 /sound/soc/s3c24xx/s3c-i2s-v2.h | |
parent | 08226614789496dc395e3714115a3bcf2ca3baa2 (diff) |
ASoC: S3C: I2Sv2: Unify clock source IDs
Rather than having the multiple definitions of the same clocks,
define them in one common place and refer by SoC specific names.
Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/s3c24xx/s3c-i2s-v2.h')
-rw-r--r-- | sound/soc/s3c24xx/s3c-i2s-v2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/s3c24xx/s3c-i2s-v2.h b/sound/soc/s3c24xx/s3c-i2s-v2.h index ecf8eaaed1db..b094d3c23cbe 100644 --- a/sound/soc/s3c24xx/s3c-i2s-v2.h +++ b/sound/soc/s3c24xx/s3c-i2s-v2.h | |||
@@ -25,6 +25,10 @@ | |||
25 | #define S3C_I2SV2_DIV_RCLK (2) | 25 | #define S3C_I2SV2_DIV_RCLK (2) |
26 | #define S3C_I2SV2_DIV_PRESCALER (3) | 26 | #define S3C_I2SV2_DIV_PRESCALER (3) |
27 | 27 | ||
28 | #define S3C_I2SV2_CLKSRC_PCLK 0 | ||
29 | #define S3C_I2SV2_CLKSRC_AUDIOBUS 1 | ||
30 | #define S3C_I2SV2_CLKSRC_CDCLK 2 | ||
31 | |||
28 | /** | 32 | /** |
29 | * struct s3c_i2sv2_info - S3C I2S-V2 information | 33 | * struct s3c_i2sv2_info - S3C I2S-V2 information |
30 | * @dev: The parent device passed to use from the probe. | 34 | * @dev: The parent device passed to use from the probe. |