ASoC: S3C2412: I2S: Return correct source clock
authorJassi Brar <jassi.brar@samsung.com>
Tue, 27 Apr 2010 06:56:34 +0000 (15:56 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 5 May 2010 14:11:52 +0000 (15:11 +0100)
commitd79696ff443eb16a1a13bd7db030a25fee9f44a7
tree55d4d4b2c47f8812066443a1432eee3c12d15340
parentce76f9fd34d4d39fbda330f14b327273551e2f54
ASoC: S3C2412: I2S: Return correct source clock

Until now, s3c2412_get_iisclk would return NULL since iis_clk was never
initialized.
Return appropriate pointer as per the selection made for source clock.

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/s3c2412-i2s.c