summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-ich.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-10-09 18:58:45 +0300
committerLinus Walleij <linus.walleij@linaro.org>2019-10-15 01:18:57 +0200
commita33912061607979380e070af63a9adeef0a16246 (patch)
treea545d2122da57371dbde20ae00ea6e938cfa8de3 /drivers/gpio/gpio-ich.c
parenta752fbb4b4644d09964e76c69ccd1acc700e907a (diff)
gpio: lynxpoint: Move hardware initialization to callback
The driver wants to initialize related registers before IRQ chip will be added. That's why move it to a corresponding callback. It also fixes the NULL pointer dereference. Fixes: 7b1e889436a1 ("gpio: lynxpoint: Pass irqchip when adding gpiochip") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-ich.c')
0 files changed, 0 insertions, 0 deletions