commit | a752fbb4b4644d09964e76c69ccd1acc700e907a | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Oct 09 18:23:27 2019 +0300 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Oct 15 01:18:51 2019 +0200 |
tree | 07b41780fafec9227bbdc5147751ad63c91b9475 | |
parent | 9411e3aaa6342eb730daa55cf3377463a37d2aa7 [diff] |
gpio: intel-mid: 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: 8069e69a9792 ("gpio: intel-mid: Pass irqchip when adding gpiochip") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>