diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-06-13 10:33:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-06-13 10:33:31 -0700 |
commit | 562d1ffed2082fc59fb72173b856822ffe781559 (patch) | |
tree | 89b0a788bc19e668cd12feb5f6495260896d9da2 | |
parent | acb11bcdbde29cfedaaedfea314b922b99274907 (diff) | |
parent | e3f88ae9960920598cad132c553019ee79ff3aca (diff) | |
download | blackbird-op-linux-562d1ffed2082fc59fb72173b856822ffe781559.tar.gz blackbird-op-linux-562d1ffed2082fc59fb72173b856822ffe781559.zip |
Merge branch 'spi/merge' of git://git.secretlab.ca/git/linux-2.6
* 'spi/merge' of git://git.secretlab.ca/git/linux-2.6:
spi-pl022: Add missing return value update
-rw-r--r-- | drivers/spi/amba-pl022.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/amba-pl022.c b/drivers/spi/amba-pl022.c index 6a9e58dd36c7..d18ce9e946d8 100644 --- a/drivers/spi/amba-pl022.c +++ b/drivers/spi/amba-pl022.c @@ -1861,6 +1861,7 @@ static int pl022_setup(struct spi_device *spi) } if ((clk_freq.cpsdvsr < CPSDVR_MIN) || (clk_freq.cpsdvsr > CPSDVR_MAX)) { + status = -EINVAL; dev_err(&spi->dev, "cpsdvsr is configured incorrectly\n"); goto err_config_params; |