[PATCH] pinctrl: sunxi: Fix gpio_set behaviour

Linus Walleij linus.walleij at linaro.org
Wed Aug 7 15:57:45 EDT 2013


On Thu, Jul 25, 2013 at 12:41 PM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:

> The current gpio_set function is ignoring the previous value set in the
> GPIO value register, which leads in erasing the values already set for
> the other GPIOs in the same bank when setting the value of a given GPIO.
>
> Add the usual read/mask/write pattern to fix this brown paper bag bug.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>

Patch applied for fixes.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list