summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPaul Thomas <pthomas8589@gmail.com>2020-04-14 11:28:42 -0400
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-04-16 15:20:40 +0200
commit96d7c7b3e6545612c1d37944621fdd611afd6adf (patch)
tree9e3656e1b11a97a12fdd86db84a7a2a9b6cb1693 /tools/perf/scripts/python/export-to-sqlite.py
parentea06a482a47c41f5d04565dffbc21156bcfdd3e8 (diff)
gpio: gpio-pca953x, Add get_multiple function
Implement a get_multiple function for gpio-pca953x. If a driver leaves get_multiple unimplemented then gpio_chip_get_multiple() in gpiolib.c takes care of it by calling chip->get() as needed. For i2c chips this is very inefficient. For example if you do an 8-bit read then instead of a single i2c transaction there are 8 transactions reading the same byte! Signed-off-by: Paul Thomas <pthomas8589@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions