Exynos: pwm: Use generic api to get pwm clk freq
authorPadmavathi Venna <padma.v@samsung.com>
Thu, 28 Mar 2013 04:32:23 +0000 (04:32 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 1 Apr 2013 05:02:08 +0000 (14:02 +0900)
commite2338704c0ac63c73d295f941ac0cfd8e05bd076
treed60770fa906d93da40ab9a8a7a8a3a85cd63fa2e
parentf9e4d046e016b81aa5ccf68436b77b12189d418e
Exynos: pwm: Use generic api to get pwm clk freq

Use generic api to get the pwm clock frequency

Test with command "sf probe 1:0; time sf read 40008000 0 1000".
Try with different numbers of bytes and see that sane values are obtained
Build and boot U-boot with this patch, backlight works properly.

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/armv7/exynos/clock.c