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>
This commit is contained in:
@@ -25,6 +25,10 @@
|
||||
#define S3C_I2SV2_DIV_RCLK (2)
|
||||
#define S3C_I2SV2_DIV_PRESCALER (3)
|
||||
|
||||
#define S3C_I2SV2_CLKSRC_PCLK 0
|
||||
#define S3C_I2SV2_CLKSRC_AUDIOBUS 1
|
||||
#define S3C_I2SV2_CLKSRC_CDCLK 2
|
||||
|
||||
/**
|
||||
* struct s3c_i2sv2_info - S3C I2S-V2 information
|
||||
* @dev: The parent device passed to use from the probe.
|
||||
|
||||
Reference in New Issue
Block a user