]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i2c: exynos5: simplify timings calculation
authorAndrzej Hajda <a.hajda@samsung.com>
Thu, 23 Feb 2017 16:47:26 +0000 (17:47 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 21 Apr 2017 12:00:16 +0000 (14:00 +0200)
commitb917d4fd5050e46979835486a70c99b5cb688689
treea93cdfc8935cfb6bc35050d790bb2f8f2e8be436
parentc7f82ea8605627b3088f166d9f4a5ca7857e8383
i2c: exynos5: simplify timings calculation

Instead of using cryptic loop direct calculation of timings
can be used.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-exynos5.c