linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kukjin Kim <kgene.kim@samsung.com>
To: 'Mark Brown' <broonie@opensource.wolfsonmicro.com>,
	'Grant Likely' <grant.likely@secretlab.ca>
Cc: linux-samsung-soc@vger.kernel.org,
	spi-devel-general@lists.sourceforge.net
Subject: RE: [PATCH] spi/s3c64xx: Complain if we fail to set a transfer speed
Date: Wed, 09 Jan 2013 17:17:52 -0800	[thread overview]
Message-ID: <00cf01cdeed0$51d193b0$f574bb10$@samsung.com> (raw)
In-Reply-To: <1357335189-17398-1-git-send-email-broonie@opensource.wolfsonmicro.com>

Mark Brown wrote:
> 
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Acked-by: Kukjin Kim <kgene.kim@samsung.com>

> ---
>  drivers/spi/spi-s3c64xx.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index
> ad93231..6495352 100644
> --- a/drivers/spi/spi-s3c64xx.c
> +++ b/drivers/spi/spi-s3c64xx.c
> @@ -957,6 +957,8 @@ static int s3c64xx_spi_setup(struct spi_device *spi)
>  		if (spi->max_speed_hz >= speed) {
>  			spi->max_speed_hz = speed;
>  		} else {
> +			dev_err(&spi->dev, "Can't set %dHz transfer
> speed\n",
> +				spi->max_speed_hz);
>  			err = -EINVAL;
>  			goto setup_exit;
>  		}
> --
> 1.7.10.4

      reply	other threads:[~2013-01-10  1:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-04 21:33 [PATCH] spi/s3c64xx: Complain if we fail to set a transfer speed Mark Brown
2013-01-10  1:17 ` Kukjin Kim [this message]

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='00cf01cdeed0$51d193b0$f574bb10$@samsung.com' \
    --to=kgene.kim@samsung.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=spi-devel-general@lists.sourceforge.net \
    /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).