diff options
author | 2018-10-12 08:11:36 +0200 | |
---|---|---|
committer | 2018-10-12 10:16:19 +0200 | |
commit | 767cd17a5cc5ce2d5342f5c4bd6c5d36b812c7a7 (patch) | |
tree | 0e1b37573371c0b95530021f3f6f9fb8ab2e7fc3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: fix kernel-doc after devres.c file rename (diff) | |
download | wireguard-linux-767cd17a5cc5ce2d5342f5c4bd6c5d36b812c7a7.tar.xz wireguard-linux-767cd17a5cc5ce2d5342f5c4bd6c5d36b812c7a7.zip |
gpiolib: Initialize gdev field before is used
gpio_hog depends on gdev field being initialized. This patch fixes an
OOPs during initialization of TI's AM335x-ICEv2.
Fixes: 3edfb7bd76bd1cba ("gpiolib: Show correct direction from the beginning")
Tested-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions