From: Linus Walleij Date: Mon, 14 Sep 2009 11:56:14 +0000 (+0100) Subject: ARM: 5697/1: MMCI Break out clock divider setup X-Git-Tag: v2.6.32-rc1~49^2~13 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6a6464a0ecd20c5f1594a4fe5b24af6181b7366;p=pandora-kernel.git ARM: 5697/1: MMCI Break out clock divider setup This breaks out the clock divider set-up code from the mmci_set_ios() code and surrounds the two register writes with a host lock so we don't get collisions if (in future code) two code paths want to change the clock divider at the same time as can be the case if we get something like pre/post- clock frequency change notifications soonish. Signed-off-by: Linus Walleij Signed-off-by: Russell King --- Reading git-diff-tree failed