Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: grant.likely@secretlab.ca (Grant Likely)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] spi/pl022: remove dangling status check
Date: Tue, 15 Feb 2011 15:09:32 -0700	[thread overview]
Message-ID: <20110215220932.GH28005@angua.secretlab.ca> (raw)
In-Reply-To: <1297166621-5169-1-git-send-email-linus.walleij@stericsson.com>

On Tue, Feb 08, 2011 at 01:03:41PM +0100, Linus Walleij wrote:
> From: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
> 
> Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Applied, thanks.

g.

> ---
>  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 8fdf530..2b591f0 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)
>  	    && ((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,
> -- 
> 1.7.3.2
> 

  reply	other threads:[~2011-02-15 22:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-08 12:03 [PATCH 3/4] spi/pl022: remove dangling status check Linus Walleij
2011-02-15 22:09 ` Grant Likely [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-02-08 12:02 Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110215220932.GH28005@angua.secretlab.ca \
    --to=grant.likely@secretlab.ca \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox