diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2009-11-02 03:53:11 +0000 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-11-04 16:42:47 -0700 |
commit | f856cf01787354fb3c8cde0a80de606f368b21ed (patch) | |
tree | a69346d1f7f075f84d2c4efa682b8eeb202e2e0d /drivers/pci | |
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>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions