Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d63636d3 authored by Virupax Sadashivpetimath's avatar Virupax Sadashivpetimath Committed by Grant Likely
Browse files

spi/pl022: remove dangling status check

parent 808f1037
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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,