EXYNOS5: DWMMC: Initialise the local variable to avoid unwanted results.
authorAmar <amarendra.xt@samsung.com>
Sat, 27 Apr 2013 06:12:56 +0000 (11:42 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 13 Jun 2013 08:35:14 +0000 (17:35 +0900)
commit2b81c26b7c43f01cfaa5c4c50571b6854eece656
treefc9aa5c02977be87065b58f4cbc248308c67b205
parenta082a2dde06142bb599551ed3dad324923a130e0
EXYNOS5: DWMMC: Initialise the local variable to avoid unwanted results.

This patch initialises the local variable 'shift' to zero.
The uninitialised local variable 'shift' had garbage value and was
resulting in unwnated results in the functions exynos5_get_mmc_clk()
and exynos4_get_mmc_clk().

Signed-off-by: Amar <amarendra.xt@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/armv7/exynos/clock.c