Re: [PATCH 1/1] gpio: pca953x: Fix corruption of other gpios in set_multiple.

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

 



On Tue, Nov 8, 2016 at 7:00 AM, Phil Reid <preid@xxxxxxxxxxxxxxxxx> wrote:

> gpiod_set_array_value_complex does not clear the bits field.
> Therefore when the drivers set_multiple funciton is called bits outside
> the mask are undefined and can be either set or not. So bank_val needs
> to be masked with bank_mask before or with the reg_val cache.
>
> Signed-off-by: Phil Reid <preid@xxxxxxxxxxxxxxxxx>

Patch applied for fixes. Should it also be tagged for stable?
Is there a commit this fixes that we can set as Fixes:?

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