From: Wolfram Sang Date: Mon, 2 Nov 2009 03:53:11 +0000 (+0000) Subject: spi/mpc52xx-psc-spi: check for valid PSC X-Git-Tag: v2.6.33-rc1~279^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f856cf01787354fb3c8cde0a80de606f368b21ed;p=pandora-kernel.git spi/mpc52xx-psc-spi: check for valid PSC This driver calls mpc52xx_set_psc_clkdiv() but doesn't check its return value to see if the PSC is actually valid for SPI use. Add the check and a hint for the user. Signed-off-by: Wolfram Sang Signed-off-by: Grant Likely --- Reading git-diff-tree failed