Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1287553
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] pinctrl: mvebu: complain about missing group after checking variant |
| Date | 2015-12-09 16:20 +0100 |
| Message-ID | <qDOH7-1CS-7@gated-at.bofh.it> (permalink) |
| References | <qzKLL-7xO-5@gated-at.bofh.it> <qzKVs-7AO-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Nov 28, 2015 at 11:26 AM, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> wrote: > Common MVEBU pinctrl driver core gets an array of controls to modify > a specific set of registers and an array of modes for each pingroup > from each of the different SoC families of MVEBU. > > Some SoC families comprise different variants that differ in available > pingroups and also controls, but to ease driver development, we can > pass a variant mask to disable specific pingroups for some variants. > However, controls are limited to the true number of pinctrl groups > avaiable on a variant. > > Now, when pinctrl core driver parses over above arrays, it tries to > match modes with available controls and complains about missing > controls for modes that are passed to the core but actually are not > avaiable on a variant with: > > kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 36 > > This warning is a false-positive and annoying, so move the warning > after we checked the variant mask for each mode setting. Also, if > there is no supported setting for this variant, do not complain at > all. > > Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> > Reported-by: Linus Walleij <linus.walleij@linaro.org> > --- > Changelog: > v1->v2: > - modify settings loop to allow to check for !num_settings Patch applied! 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/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v2] pinctrl: mvebu: complain about missing group after checking variant Linus Walleij <linus.walleij@linaro.org> - 2015-12-09 16:20 +0100
csiph-web