Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1232959 > unrolled thread

Re: [PATCH] pinctrl: core: handle pinctrl_get failure

Started byLinus Walleij <linus.walleij@linaro.org>
First post2015-09-25 19:30 +0200
Last post2015-09-25 19:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] pinctrl: core: handle pinctrl_get failure Linus Walleij <linus.walleij@linaro.org> - 2015-09-25 19:30 +0200

#1232959 — Re: [PATCH] pinctrl: core: handle pinctrl_get failure

FromLinus Walleij <linus.walleij@linaro.org>
Date2015-09-25 19:30 +0200
SubjectRe: [PATCH] pinctrl: core: handle pinctrl_get failure
Message-ID<qcEYN-82I-1@gated-at.bofh.it>
On Thu, Sep 10, 2015 at 6:38 AM, Peng Fan <van.freenix@gmail.com> wrote:

> Need to do error handling path when pinctrl_get fails. Also when
> pinctrl_get success, insert 'pctldev->node' to pinctrldev_list.
>
> Signed-off-by: Peng Fan <van.freenix@gmail.com>
> Cc: Linus Walleij <linus.walleij@linaro.org>

I think this patch is totally wrong and you have probably not tested
it using pinctrl hogs.

pinctr_get() from self will *not work* unless the device is added to
the list *first*.

Dropping this.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web