summaryrefslogtreecommitdiffstats
path: root/security/tomoyo
diff options
context:
space:
mode:
authorLaurent Pinchart2015-10-12 23:20:20 +0200
committerLinus Walleij2015-10-16 22:46:46 +0200
commit923b93e451db876d1479d3e4458fce14fec31d1c (patch)
tree4f8252982415c3f29a36e739f453b7c030eda878 /security/tomoyo
parentpinctrl: replace trivial implementations of gpio_chip request/free (diff)
downloadkernel-qcow2-linux-923b93e451db876d1479d3e4458fce14fec31d1c.tar.gz
kernel-qcow2-linux-923b93e451db876d1479d3e4458fce14fec31d1c.tar.xz
kernel-qcow2-linux-923b93e451db876d1479d3e4458fce14fec31d1c.zip
gpiolib: Split GPIO flags parsing and GPIO configuration
When requesting a GPIO through the legacy or the gpiod_* API the gpiochip request operation is first called and then the GPIO flags are parsed and the GPIO is configured. This prevents the gpiochip from rejecting the request if the flags are not supported by the device. To fix this split the parse-and-configure operation in two and parse flags before requesting the GPIO. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions