summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2019-10-01 12:49:21 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-10-01 12:50:05 +0300
commitbe7ae45cfea97e787234e00e1a9eb341acacd84e (patch)
treea4b75df65ba072c102050487b06966096ac5448c /tools/perf/scripts/python/exported-sql-viewer.py
parente735244e2cf068f98b6384681a38993e0517a838 (diff)
downloadlinux-be7ae45cfea97e787234e00e1a9eb341acacd84e.tar.xz
gpio: fix getting nonexclusive gpiods from DT
Since commit ec757001c818 ("gpio: Enable nonexclusive gpiods from DT nodes") we are able to get GPIOD_FLAGS_BIT_NONEXCLUSIVE marked gpios. Currently the gpiolib uses the wrong flags variable for the check. We need to check the gpiod_flags instead of the of_gpio_flags else we return -EBUSY for GPIOD_FLAGS_BIT_NONEXCLUSIVE marked and requested gpiod's. Fixes: ec757001c818 gpio: Enable nonexclusive gpiods from DT nodes Cc: stable@vger.kernel.org Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> [Bartosz: the function was moved to gpiolib-of.c so updated the patch] Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions