ASoC: S3C: I2S: Move set_sysclk to common code
authorJassi Brar <jassi.brar@samsung.com>
Tue, 27 Apr 2010 06:57:05 +0000 (15:57 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 5 May 2010 14:15:14 +0000 (15:15 +0100)
commit8a7c251871eff512fb380ea0e86c77ed901520fe
treee62703ddd593a38045ce5af8eb45dd2ca9d9faed
parent9e991a4bf3290b0787d33fa72144f6eec656f20d
ASoC: S3C: I2S: Move set_sysclk to common code

Now that we can specify feature of a particular controller, we can
avoid multiple copies of same code by defining the CDCLKCON bit
feature in controller specific code and detecting that flag in the
code common to all controllers.

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/s3c24xx/s3c-i2s-v2.c
sound/soc/s3c24xx/s3c2412-i2s.c
sound/soc/s3c24xx/s3c64xx-i2s.c