ASoC: S3C2412: I2S: Debug IMS field
authorJassi Brar <jassi.brar@samsung.com>
Tue, 27 Apr 2010 06:56:27 +0000 (15:56 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 5 May 2010 14:11:29 +0000 (15:11 +0100)
commitce76f9fd34d4d39fbda330f14b327273551e2f54
tree659dcd028e1ee8cef947fcc2ad82dc8ff0e604bb
parentb720d56294187ea4167a20e59c4ea0bb4f064132
ASoC: S3C2412: I2S: Debug IMS field

The IMS field of s3c2412/13 is essentially the same as that of s3c64xx.
That is, the IISMOD[11] bit decides Master/Slave mode and IISMOD[10] bit
selects source clock for signal generation.
For that reason, remove improper defines for IISMOD[11:10] field mask
and define two 1bit fields that can be set independent of each other.
As a consequence, corresponding fields for PLAT_S3C64XX too get to use
these new defines.

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/regs-i2s-v2.h
sound/soc/s3c24xx/s3c-i2s-v2.c
sound/soc/s3c24xx/s3c2412-i2s.c