commit | 2b81c26b7c43f01cfaa5c4c50571b6854eece656 | [log] [tgz] |
---|---|---|
author | Amar <amarendra.xt@samsung.com> | Sat Apr 27 11:42:56 2013 +0530 |
committer | Minkyu Kang <mk7.kang@samsung.com> | Thu Jun 13 17:35:14 2013 +0900 |
tree | fc9aa5c02977be87065b58f4cbc248308c67b205 | |
parent | a082a2dde06142bb599551ed3dad324923a130e0 [diff] |
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>