ASoC: S3C: I2Sv2: New field for controller feature
authorJassi Brar <jassi.brar@samsung.com>
Tue, 27 Apr 2010 06:56:56 +0000 (15:56 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 5 May 2010 14:14:21 +0000 (15:14 +0100)
commit9e991a4bf3290b0787d33fa72144f6eec656f20d
tree3fb5b1ec92feaf8764d5c6b40dacacbf80e28bec
parentd47ef9c79dd46c1b33696f01b6cf744b77150379
ASoC: S3C: I2Sv2: New field for controller feature

In order to make s3c-i2s-v2.c manage controllers with minor
quirks and variation in features, we define a per-block flag
that indicates the availability/lack of a particular feature
to the s3c-i2s-v2.c

While adding support for new SoCs' I2S, check for the blocks
of older SoCs that have similar feature and set the flag for
that feature.

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.h