summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-omap.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2017-11-15 16:47:43 +0100
committerLinus Walleij <linus.walleij@linaro.org>2017-11-30 10:54:16 +0100
commit588fc3bceaf81bbd62e18af6f7bd475e01c2b7e8 (patch)
treeb8d95ab721d0870ed3f2499366e4669482684301 /drivers/gpio/gpio-omap.c
parente1c73a99067ee378e395da89efff40daa7096f42 (diff)
gpiolib: don't allow OPEN_DRAIN & OPEN_SOURCE flags simultaneously
Do not allow OPEN_SOURCE & OPEN_DRAIN flags in a single request. If the hardware actually supports enabling both at the same time the electrical result would be disastrous. Suggested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-omap.c')
0 files changed, 0 insertions, 0 deletions