Re: [PATCH] pinctrl: zte: fix group_desc initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 22, 2017 at 3:59 PM, Shawn Guo <shawnguo@xxxxxxxxxx> wrote:

> From: Shawn Guo <shawn.guo@xxxxxxxxxx>
>
> There are a couple of issues with group_desc initialization in function
> zx_pinctrl_build_state().
>
>  - num_pins is not initialized and remains zero.
>  - pins shouldn't be initialized with a pointer to variable in the
>    stack.
>
> With them fixed, pin_request() in pinmux_enable_setting() can be invoked
> correctly.
>
> Signed-off-by: Shawn Guo <shawn.guo@xxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux