diff options
author | Janusz Krzysztofik <jmkrzyszt@gmail.com> | 2018-09-06 00:50:08 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-09-13 12:17:23 +0300 |
commit | b17566a6b08be18ded5472a2e4bbc066593b3662 (patch) | |
tree | 855c1933616c99b7b7998be6e5e5a88dc490d5a4 /crypto/asymmetric_keys/Makefile | |
parent | 77588c14ac868caece82fddbfae7de03b2cec941 (diff) | |
download | linux-b17566a6b08be18ded5472a2e4bbc066593b3662.tar.xz |
gpiolib: Implement fast processing path in get/set array
Certain GPIO descriptor arrays returned by gpio_get_array() may contain
information on direct mapping of array members to pins of a single GPIO
chip in hardware order. In such cases, bitmaps of values can be passed
directly from/to the chip's .get/set_multiple() callbacks without
wasting time on iterations.
Add respective code to gpiod_get/set_array_bitmap_complex() functions.
Pins not applicable for fast path are processed as before, skipping
over the 'fast' ones.
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'crypto/asymmetric_keys/Makefile')
0 files changed, 0 insertions, 0 deletions