[PATCH v4 01/16] pinctrl: mvebu: count unnamed controls and allocate name buffer

Linus Walleij linus.walleij at linaro.org
Mon Feb 24 05:04:23 EST 2014


On Sun, Feb 23, 2014 at 3:20 PM, Sebastian Hesselbarth
<sebastian.hesselbarth at gmail.com> wrote:

> pinctrl-mvebu allows SoCs to pass unnamed controls that will get an
> auto-generated name of "mpp<PIN#>". Currently, we are allocating name
> buffers on a per-control basis while looping over passed controls.
> This counts the total number of unnamed controls and allocates a
> global name buffer instead. The new buffer is then used while assigning
> controls to pinctrl groups later.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
> Tested-by: Andrew Lunn <andrew at lunn.ch>
> Tested-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

This v4 version applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list