From: Thomas Koeller Date: Mon, 26 Apr 2010 09:01:45 +0000 (+0000) Subject: spi/davinci: Fix clock prescale factor computation X-Git-Tag: v2.6.35-rc1~266^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c2a2ae32793e3500a15a449612485f5d17dd431;p=pandora-kernel.git spi/davinci: Fix clock prescale factor computation Computation of the clock prescaler value returned bogus results if the requested SPI clock was impossible to set. It now sets either the maximum or minimum clock frequency, as appropriate. Signed-off-by: Thomas Koeller Signed-off-by: Grant Likely --- Reading git-diff-tree failed