]> git.ipfire.org Git - thirdparty/linux.git/commit
gpio: kempld: Add support for get/set multiple
authorAlban Bedel <alban.bedel@lht.dlh.de>
Wed, 11 Mar 2026 14:31:19 +0000 (15:31 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 16 Mar 2026 09:05:33 +0000 (10:05 +0100)
commit2443c2e1223bda4dcef5563d0154df6a72969922
tree1b8ffc60793b638bf3590abf8a1f3116c3ece11c
parent84cb463d2f6597c7951da6fb795f12119af8130d
gpio: kempld: Add support for get/set multiple

As the bus accesses are quiet slow with this device, supporting the
get/set multiple API can help with performences. The implementation
tries to keep the number of bus access to a minimum by checking
the mask to only read or write the needed bytes.

Signed-off-by: Alban Bedel <alban.bedel@lht.dlh.de>
Link: https://patch.msgid.link/20260311143120.2179347-4-alban.bedel@lht.dlh.de
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpio-kempld.c