Re: [PATCH 2/2] gpio: tb10x: Use GENERIC_GPIO

2018-08-20 Thread Christian Ruppert
Acked-by: Christian Ruppert On 06.08.2018 17:12, Linus Walleij wrote: > Instead of open coding logic for reading and writing GPIO lines, > use the generic GPIO library. Also switch to using the spinlock > from the generic GPIO to protect the registers. > > Cc: linux-snps-arc@lists.infradead.org

[PATCH 2/2] gpio: tb10x: Use GENERIC_GPIO

2018-08-06 Thread Linus Walleij
Instead of open coding logic for reading and writing GPIO lines, use the generic GPIO library. Also switch to using the spinlock from the generic GPIO to protect the registers. Cc: linux-snps-arc@lists.infradead.org Cc: Christian Ruppert Signed-off-by: Linus Walleij --- drivers/gpio/Kconfig