From: Grant Likely <grant.likely@secretlab.ca>
To: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Cc: spi-devel-general@lists.sourceforge.net,
linux-kernel@vger.kernel.org, linus.walleij@linaro.org
Subject: Re: [PATCH] spi-pl022: Add missing return value update
Date: Mon, 13 Jun 2011 09:08:56 -0600 [thread overview]
Message-ID: <20110613150856.GD18161@ponder.secretlab.ca> (raw)
In-Reply-To: <1307962426-19230-1-git-send-email-virupax.sadashivpetimath@stericsson.com>
On Mon, Jun 13, 2011 at 04:23:46PM +0530, Virupax Sadashivpetimath wrote:
> 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>
It looks like this is a bug fix for v3.0, and probably for -stable too, correct?
g.
> ---
> drivers/spi/spi-pl022.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
> index 2541705..b3bd8d8 100644
> --- a/drivers/spi/spi-pl022.c
> +++ b/drivers/spi/spi-pl022.c
> @@ -1859,6 +1859,7 @@ static int pl022_setup(struct spi_device *spi)
> }
> if ((clk_freq.cpsdvsr < CPSDVR_MIN)
> || (clk_freq.cpsdvsr > CPSDVR_MAX)) {
> + status = -EINVAL;
> dev_err(&spi->dev,
> "cpsdvsr is configured incorrectly\n");
> goto err_config_params;
> --
> 1.7.4.3
>
next prev parent reply other threads:[~2011-06-13 15:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-13 10:53 [PATCH] spi-pl022: Add missing return value update Virupax Sadashivpetimath
2011-06-13 15:08 ` Grant Likely [this message]
2011-06-13 16:13 ` 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=20110613150856.GD18161@ponder.secretlab.ca \
--to=grant.likely@secretlab.ca \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=spi-devel-general@lists.sourceforge.net \
--cc=virupax.sadashivpetimath@stericsson.com \
/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;
as well as URLs for NNTP newsgroup(s).