Messages in this thread | | | Date | Fri, 25 Sep 2015 10:23:57 -0700 | Subject | Re: [PATCH] pinctrl: core: handle pinctrl_get failure | From | Linus Walleij <> |
| |
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
| |