From: Fabio Estevam Date: Fri, 27 Jan 2012 14:44:29 +0000 (-0200) Subject: ARM: mxs: Use a proper timeout mechanism X-Git-Tag: v3.4-rc1~89^2~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=444a7c3bb897ec6a64b83d277102440c1dcc22a1;p=pandora-kernel.git ARM: mxs: Use a proper timeout mechanism Introduce a function for checking the busy bits of CLKCTRL register that uses a proper timeout mechanism. Remove parts of code that use busy loops and replace them with the mxs_clkctrl_timeout() function. Tested on a mx28evk by performing audio playback. Suggested-by: Wolfram Sang Signed-off-by: Fabio Estevam Signed-off-by: Shawn Guo --- Reading git-diff-tree failed