ASoC: S3C64XX: Compress and generalize the CPU driver
authorJassi Brar <jassi.brar@samsung.com>
Wed, 9 Dec 2009 04:29:25 +0000 (13:29 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 16 Dec 2009 17:31:03 +0000 (17:31 +0000)
commit0fe692292a26f57b6522fe859cc8b2549ec0cd97
tree035b655bf064a0f8183c88a79fee126a0ee40663
parent168db50d967e09133feda8247d4dcb3c73437766
ASoC: S3C64XX: Compress and generalize the CPU driver

The driver can be 'generalized' a bit by not hardcoding '2'(the number of
I2Sv3 controllers that the driver can handle) at many places, instead we
define a macro for it. That makes it easier to increase number of controllers
by changing the parameter at just one place, this will be useful when there is
support for newer SoCs, which have the same controller, only more in number.

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>
sound/soc/s3c24xx/s3c64xx-i2s.c