All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Cc: Alexandre Courbot <gnurou@gmail.com>,
	"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] gpio: Propagate errors from chip->get()
Date: Tue, 8 Sep 2015 15:04:09 +0200	[thread overview]
Message-ID: <CACRpkdbbPizi_x1tYmQ_EePgGTRvpwvezdSmH=BVNciF5b+j9g@mail.gmail.com> (raw)
In-Reply-To: <20150901051613.GE13472@usrtlx11787.corpusers.net>

On Tue, Sep 1, 2015 at 7:16 AM, Bjorn Andersson
<bjorn.andersson@sonymobile.com> wrote:

> Linus, Alexandre, please feel free to apply this with -ENOTSUPP in
> accordance to Alexandre's comment in [1], if you prefer that. I picked
> -EIO as that's what's used in most other places when the get() op is
> missing.

I applied as-is for fixes.

> Maybe we should follow up with separate patch to make that consistent?

A patch doing this would be appropriate for devel as it makes
deeper semantic changes.

Yours,
Linus Walleij

  parent reply	other threads:[~2015-09-08 13:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-28 16:44 [PATCH] gpio: Propagate errors from chip->get() Bjorn Andersson
2015-08-28 16:44 ` Bjorn Andersson
2015-09-01  5:16 ` Bjorn Andersson
2015-09-02 12:37   ` Alexandre Courbot
2015-09-08 13:04   ` Linus Walleij [this message]
2015-09-08 13: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='CACRpkdbbPizi_x1tYmQ_EePgGTRvpwvezdSmH=BVNciF5b+j9g@mail.gmail.com' \
    --to=linus.walleij@linaro.org \
    --cc=bjorn.andersson@sonymobile.com \
    --cc=gnurou@gmail.com \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.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.