mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
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>
This commit is contained in:
parent
808f1037ab
commit
d63636d347
1 changed files with 0 additions and 2 deletions
|
@ -1906,8 +1906,6 @@ static int pl022_setup(struct spi_device *spi)
|
|||
&& ((pl022->master_info)->enable_dma)) {
|
||||
chip->enable_dma = true;
|
||||
dev_dbg(&spi->dev, "DMA mode set in controller state\n");
|
||||
if (status < 0)
|
||||
goto err_config_params;
|
||||
SSP_WRITE_BITS(chip->dmacr, SSP_DMA_ENABLED,
|
||||
SSP_DMACR_MASK_RXDMAE, 0);
|
||||
SSP_WRITE_BITS(chip->dmacr, SSP_DMA_ENABLED,
|
||||
|
|
Loading…
Reference in a new issue