Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1588992
| From | Gary Bisson <gary.bisson@boundarydevices.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [REGRESSION] pinctrl, of, unable to find hogs |
| Date | 2017-02-27 23:30 +0100 |
| Message-ID | <tfBXQ-3Cf-13@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <tfwv8-8at-27@gated-at.bofh.it> <tfwv8-8at-23@gated-at.bofh.it> <tfx7P-gn-9@gated-at.bofh.it> <tfyng-12S-9@gated-at.bofh.it> <tfBXQ-3Cf-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Tony, On Mon, Feb 27, 2017 at 10:45:35AM -0800, Tony Lindgren wrote: > * Tony Lindgren <tony@atomide.com> [170227 09:37]: > > * Gary Bisson <gary.bisson@boundarydevices.com> [170227 08:42]: > > > > Not sure how to fix it though since we can't move the dt probing before > > > > radix tree init. > > > > Yup looks like we still have an issue with pinctrl driver functions > > getting called before driver probe has completed. > > > > How about we introduce something like: > > > > int pinctrl_claim_hogs(struct pinctrl_dev *pctldev); > > > > Then the drivers can call that at the end of the probe after > > the pins have been parsed? > > > > This should be safe as no other driver can claim the pins either > > before the pins have been parsed :) > > Below is an initial take on this solution. I've only briefly tested > it so far but maybe give it a try and see if it helps. > > I'll take a look if we can make the error handling better for > pinctrl_register_and_init(). I'll try that tomorrow morning and let you know. Regards, Gary
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [REGRESSION] pinctrl, of, unable to find hogs Gary Bisson <gary.bisson@boundarydevices.com> - 2017-02-27 17:40 +0100
Re: [REGRESSION] pinctrl, of, unable to find hogs Gary Bisson <gary.bisson@boundarydevices.com> - 2017-02-27 18:20 +0100
Re: [REGRESSION] pinctrl, of, unable to find hogs Tony Lindgren <tony@atomide.com> - 2017-02-27 19:40 +0100
Re: [REGRESSION] pinctrl, of, unable to find hogs Gary Bisson <gary.bisson@boundarydevices.com> - 2017-02-27 23:30 +0100
Re: [REGRESSION] pinctrl, of, unable to find hogs Tony Lindgren <tony@atomide.com> - 2017-02-28 00:50 +0100
Re: [REGRESSION] pinctrl, of, unable to find hogs Gary Bisson <gary.bisson@boundarydevices.com> - 2017-02-28 10:40 +0100
Re: [REGRESSION] pinctrl, of, unable to find hogs Tony Lindgren <tony@atomide.com> - 2017-02-28 18:30 +0100
Re: [REGRESSION] pinctrl, of, unable to find hogs Tony Lindgren <tony@atomide.com> - 2017-02-27 23:40 +0100
csiph-web