All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: pascal.huerst@gmail.com
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH] ASoC: sigmadsp: Add check for return value of i2c_master_send
Date: Thu, 26 Nov 2015 14:04:49 +0100	[thread overview]
Message-ID: <56570371.9020605@metafoo.de> (raw)
In-Reply-To: <1448542815-14197-1-git-send-email-pascal.huerst@gmail.com>

On 11/26/2015 02:00 PM, pascal.huerst@gmail.com wrote:
> From: Pascal Huerst <pascal.huerst@gmail.com>
> 
> i2c_master_send returns the number of bytes transmitted, which leads
> to an error in the firmware download function. Check for the return
> value and only return it directly, if it is an actual error number.
> 
> Signed-off-by: Pascal Huerst <pascal.huerst@gmail.com>

Acked-by: Lars-Peter Clausen <lars@metafoo.de>

Thanks.

      reply	other threads:[~2015-11-26 13:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-26 13:00 [PATCH] ASoC: sigmadsp: Add check for return value of i2c_master_send pascal.huerst
2015-11-26 13:04 ` Lars-Peter Clausen [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=56570371.9020605@metafoo.de \
    --to=lars@metafoo.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=pascal.huerst@gmail.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 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.