linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pinctrl: -EAGAIN not supported but documented
@ 2019-01-21 13:28 Ramon Fried
  2019-01-21 14:26 ` Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: Ramon Fried @ 2019-01-21 13:28 UTC (permalink / raw)
  To: linus.walleij, bgolaszewski; +Cc: linux-gpio, linux-kernel

Hi Linus,

Stated in Documentation/driver-api/pinctl.rst:

Since some controllers have special logic for handling entire groups of pins
they can exploit the special whole-group pin control function. The
pin_config_group_set() callback is allowed to return the error code -EAGAIN,
for groups it does not want to handle, or if it just wants to do some
group-level handling and then fall through to iterate over all pins, in 
which
case each individual pin will be treated by separate pin_config_set() 
calls as
well.

----

This is not supported, and there's no code for handling it.

Should we add the necessary code or just remove the wrong documentation.

Thanks,

Ramon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-21 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-21 13:28 pinctrl: -EAGAIN not supported but documented Ramon Fried
2019-01-21 14:26 ` Linus Walleij
2019-01-21 14:27   ` Ramon Fried

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).