diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-10-09 18:23:27 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-10-15 01:19:01 +0200 |
commit | 4c87540940cbc7ddbe9674087919c605fd5c2ef1 (patch) | |
tree | 12983dc6c97c0b06fc11d4d1cf828b3380df2965 /net | |
parent | a33912061607979380e070af63a9adeef0a16246 (diff) |
gpio: merrifield: 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: 8f86a5b4ad67 ("gpio: merrifield: 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 'net')
0 files changed, 0 insertions, 0 deletions