[lkml]   [2019]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] pinctrl: Add device link between pin controller and GPIO
On Fri, Jun 21, 2019 at 5:24 PM Thierry Reding <> wrote:

> From: Thierry Reding <>
> When a GPIO controller registers a pin range with a pin controller,
> establish a device link between them in order to keep track of the
> dependency, which will help keep the right suspend/resume ordering.
> Signed-off-by: Thierry Reding <>

This make sense.

> + link = device_link_add(range->gc->parent, pctldev->dev,

What about parentless GPIO chips now again?
The parent field is optional, sad to say (yes I wish I could just
fix it all).

> + device_link_remove(range->gc->parent, pctldev->dev);

And here again.

Linus Walleij

 \ /
  Last update: 2019-06-25 00:37    [W:0.058 / U:2.940 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site