diff options
author | 2019-10-09 17:34:44 +0300 | |
---|---|---|
committer | 2019-10-15 01:18:46 +0200 | |
commit | 9411e3aaa6342eb730daa55cf3377463a37d2aa7 (patch) | |
tree | 0fd5450050bc17c4b1282918cf378df6a8a1679b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | gpio: merrifield: Restore use of irq_base (diff) | |
download | wireguard-linux-9411e3aaa6342eb730daa55cf3377463a37d2aa7.tar.xz wireguard-linux-9411e3aaa6342eb730daa55cf3377463a37d2aa7.zip |
gpiolib: Initialize the hardware with a callback
After changing the drivers to use GPIO core to add an IRQ chip
it appears that some of them requires a hardware initialization
before adding the IRQ chip.
Add an optional callback ->init_hw() to allow that drivers
to initialize hardware if needed.
This change is a part of the fix NULL pointer dereference
brought to the several drivers recently.
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions