i2c-s3c2410: s3c24xx_i2c_init: don't clobber IICLC value
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 17 Jul 2009 20:33:37 +0000 (22:33 +0200)
committerBen Dooks <ben-linux@fluff.org>
Wed, 29 Jul 2009 23:55:50 +0000 (00:55 +0100)
commit0e014e92ba93d905bcb39881dce2d38807b90c34
treef5c83f5402a8c3f4002671b573dd77b041571226
parentf5886c7f96f2542382d3a983c5f13e03d7fc5259
i2c-s3c2410: s3c24xx_i2c_init: don't clobber IICLC value

s3c24xx_i2c_init() was overwriting the IICLC value set just above in
s3c24xx_i2c_clockrate() with zero, effectively disabling the platform
line control setting.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-s3c2410.c