From: Viresh Kumar <viresh.kumar-qxv4g6HH51o@public.gmane.org>
To: Vinit Kamalaksha SHENOY <vinit.shenoy-qxv4g6HH51o@public.gmane.org>
Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
spear-devel-nkJGhpqTU55BDgjK7y7TUQ@public.gmane.org
Subject: Re: [PATCH] spi/pl022: Fix error print while setting bits/word on pl022
Date: Tue, 17 Apr 2012 11:27:44 +0530 [thread overview]
Message-ID: <4F8D0658.7010702@st.com> (raw)
In-Reply-To: <1334642325-29159-1-git-send-email-vinit.shenoy-qxv4g6HH51o@public.gmane.org>
On 4/17/2012 11:28 AM, Vinit Kamalaksha SHENOY wrote:
> pl022 ssp controller supports word lengths from 4 to 16 bits.
> The kernel error message says:
> "a standard pl022 can only handle 1 <= n <= 16 bit words".
>
> Fixed above range to 4 <= n <= 16.
>
> Signed-off-by: Vinit Shenoy <vinit.shenoy-qxv4g6HH51o@public.gmane.org>
> ---
> drivers/spi/spi-pl022.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
> index 09c925a..905752f 100644
> --- a/drivers/spi/spi-pl022.c
> +++ b/drivers/spi/spi-pl022.c
> @@ -1848,7 +1848,7 @@ static int pl022_setup(struct spi_device *spi)
> "illegal data size for this controller!\n");
> dev_err(&spi->dev,
> "a standard pl022 can only handle "
> - "1 <= n <= 16 bit words\n");
> + "4 <= n <= 16 bit words\n");
> status = -ENOTSUPP;
> goto err_config_params;
> }
Reviewed-by: Viresh Kumar <viresh.kumar-qxv4g6HH51o@public.gmane.org>
--
viresh
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
next prev parent reply other threads:[~2012-04-17 5:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-17 5:58 [PATCH] spi/pl022: Fix error print while setting bits/word on pl022 Vinit Shenoy
[not found] ` <1334642325-29159-1-git-send-email-vinit.shenoy-qxv4g6HH51o@public.gmane.org>
2012-04-17 5:57 ` Viresh Kumar [this message]
2012-04-17 6:24 ` Shubhrajyoti Datta
[not found] ` <CAM=Q2csRwyGYgQ27bXjX=m6pqFoZFim=y3Qzv_DCQvyR5G0brg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-17 7:04 ` Vinit Kamalaksha SHENOY
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=4F8D0658.7010702@st.com \
--to=viresh.kumar-qxv4g6hh51o@public.gmane.org \
--cc=linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=spear-devel-nkJGhpqTU55BDgjK7y7TUQ@public.gmane.org \
--cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=vinit.shenoy-qxv4g6HH51o@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.