Re: [PATCH] gpio: 74x164: Implement gpiochip.set_multiple()

2016-03-22 Thread Linus Walleij
On Tue, Mar 15, 2016 at 5:04 AM, Phil Reid wrote: > pca953x does not update the cached data unless the write operation > was successful. Which I folowed with the implement of set_multiple. > However a number of other drivers update regardless. > eg chip->buffer is updated even if the write_config

Re: [PATCH] gpio: 74x164: Implement gpiochip.set_multiple()

2016-03-22 Thread Linus Walleij
On Mon, Mar 14, 2016 at 4:19 PM, Geert Uytterhoeven wrote: > This allows to set multiple outputs using a single SPI transfer. > > Signed-off-by: Geert Uytterhoeven Patch applied for v4.7 with Phil's Review tag. Yours, Linus Walleij

Re: [PATCH] gpio: 74x164: Implement gpiochip.set_multiple()

2016-03-14 Thread Phil Reid
On 14/03/2016 11:19 PM, Geert Uytterhoeven wrote: This allows to set multiple outputs using a single SPI transfer. Signed-off-by: Geert Uytterhoeven Reviewed-by: Phil Reid I do have a general question about GPIO drivers. pca953x does not update the cached data unless the write operation wa

[PATCH] gpio: 74x164: Implement gpiochip.set_multiple()

2016-03-14 Thread Geert Uytterhoeven
This allows to set multiple outputs using a single SPI transfer. Signed-off-by: Geert Uytterhoeven --- drivers/gpio/gpio-74x164.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/gpio/gpio-74x164.c b/drivers/gpio/gpio-74x164.c index c81224ff2dca988b..62291a81