commit | f856cf01787354fb3c8cde0a80de606f368b21ed | [log] [tgz] |
---|---|---|
author | Wolfram Sang <w.sang@pengutronix.de> | Mon Nov 02 03:53:11 2009 +0000 |
committer | Grant Likely <grant.likely@secretlab.ca> | Wed Nov 04 16:42:47 2009 -0700 |
tree | a69346d1f7f075f84d2c4efa682b8eeb202e2e0d | |
parent | 3c9059d79f5eea6b8b75ddac97693127c3c41db4 [diff] |
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 <w.sang@pengutronix.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>