diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-02-25 18:33:19 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2021-03-08 11:59:17 +0100 |
commit | 809390219fb9c2421239afe5c9eb862d73978ba0 (patch) | |
tree | a48d0a21c0a049841ec8be166d4ed63279dc4f5f /tools/pci | |
parent | 62d5247d239d4b48762192a251c647d7c997616a (diff) |
gpiolib: acpi: Allow to find GpioInt() resource by name and index
Currently only search by index is supported. However, in some cases
we might need to pass the quirks to the acpi_dev_gpio_irq_get().
For this, split out acpi_dev_gpio_irq_get_by() and replace
acpi_dev_gpio_irq_get() by calling above with NULL for name parameter.
Fixes: ba8c90c61847 ("gpio: pca953x: Override IRQ for one of the expanders on Galileo Gen 2")
Depends-on: 0ea683931adb ("gpio: dwapb: Convert driver to using the GPIO-lib-based IRQ-chip")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/pci')
0 files changed, 0 insertions, 0 deletions