diff options
author | Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> | 2011-02-08 07:03:41 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-02-15 17:09:03 -0500 |
commit | d63636d34761e1146fc7d4ef896ca93c8073ef88 (patch) | |
tree | 225c044147fb6948538eeb644ab346c0c3743eeb /drivers/spi | |
parent | 808f1037ab3fbf75d25026ad8e175c57927cdb3a (diff) |
spi/pl022: remove dangling status check
Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/amba-pl022.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/amba-pl022.c b/drivers/spi/amba-pl022.c index 8fdf530f9f50..2b591f0b92b4 100644 --- a/drivers/spi/amba-pl022.c +++ b/drivers/spi/amba-pl022.c | |||
@@ -1906,8 +1906,6 @@ static int pl022_setup(struct spi_device *spi) | |||
1906 | && ((pl022->master_info)->enable_dma)) { | 1906 | && ((pl022->master_info)->enable_dma)) { |
1907 | chip->enable_dma = true; | 1907 | chip->enable_dma = true; |
1908 | dev_dbg(&spi->dev, "DMA mode set in controller state\n"); | 1908 | dev_dbg(&spi->dev, "DMA mode set in controller state\n"); |
1909 | if (status < 0) | ||
1910 | goto err_config_params; | ||
1911 | SSP_WRITE_BITS(chip->dmacr, SSP_DMA_ENABLED, | 1909 | SSP_WRITE_BITS(chip->dmacr, SSP_DMA_ENABLED, |
1912 | SSP_DMACR_MASK_RXDMAE, 0); | 1910 | SSP_DMACR_MASK_RXDMAE, 0); |
1913 | SSP_WRITE_BITS(chip->dmacr, SSP_DMA_ENABLED, | 1911 | SSP_WRITE_BITS(chip->dmacr, SSP_DMA_ENABLED, |