]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
i2c-s3c2410: fix calculation of SDA line delay
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 30 Sep 2010 13:54:46 +0000 (15:54 +0200)
committerBen Dooks <ben-linux@fluff.org>
Thu, 30 Sep 2010 23:00:35 +0000 (00:00 +0100)
S3C2440 style I2C controller uses PCLK to calculate the SDA line delay.
The driver wrongly assumed that this delay is calculated from the
frequency that the controller is operating on. This patch fixes this
issue.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>

No differences found