spi-pl022: Add missing return value update
authorVirupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Mon, 13 Jun 2011 10:53:46 +0000 (16:23 +0530)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 13 Jun 2011 15:18:45 +0000 (09:18 -0600)
commite3f88ae9960920598cad132c553019ee79ff3aca
tree80136efc9d9e0432c75104407946fd7bb393f916
parenta80fd9db0e1909a03e5d5a29e2e73001e38d12f5
spi-pl022: Add missing return value update

Return error on out of range cpsdvsr value.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/amba-pl022.c