summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-10-13 00:20:20 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-10-16 22:46:46 +0200
commit923b93e451db876d1479d3e4458fce14fec31d1c (patch)
tree4f8252982415c3f29a36e739f453b7c030eda878 /drivers/staging/vt6656
parent98c85d583a5dee70d75faed3eb79851dd0a2e2fe (diff)
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 'drivers/staging/vt6656')
0 files changed, 0 insertions, 0 deletions