Exynos: Clock: Fix exynos5_get_periph_rate for I2C.
authorGuillaume GARDET <guillaume.gardet@free.fr>
Wed, 11 Mar 2015 09:34:27 +0000 (10:34 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 6 Apr 2015 05:05:45 +0000 (14:05 +0900)
commit0467faf555022fa5447a037b753b150448217239
treeff13589857becb804cff6aadc19e884672254038
parentd68df028099235c5316eec1ed5f586f3744a8707
Exynos: Clock: Fix exynos5_get_periph_rate for I2C.

Commit 2e82e9252695a612ab0cbf40fa0c7368515f6506 'Exynos: Clock: Cleanup
soc_get_periph_rate' introduced a bug in I2C config. This patch makes cros_ec
keyboard working again on Samsung Chromebook (snow).

Changes in V2: reorder lines as requested by Joonyoung Shim.

Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
Cc: Akshay Saraswat <akshay.s@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Joonyoung Shim <jy0922.shim@samsung.com>
Reviewed-by: Simon Glass <sjg@chroimum.org>
Tested-by: Simon Glass <sjg@chroimum.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/armv7/exynos/clock.c