]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6b8b7cd4e01168fc7c17cb90d57607acb4b1bb5
treec62a0f658aaa21ccd957d39cb385f16c279c2f04
parent2926b738e439f5e00269247ebbd675b8bd6cd3c7
i2c-s3c2410: fix calculation of SDA line delay

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>
drivers/i2c/busses/i2c-s3c2410.c