commit | 605a7bca7cf39cbfa835022e9c29b6a4bb980281 | [log] [tgz] |
---|---|---|
author | Jin Yao <yao.jin@intel.com> | Thu May 15 18:28:47 2014 +0300 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri May 23 00:01:53 2014 +0200 |
tree | d064996664d6dd79e65a9898ea4d6b5cc5d1b126 | |
parent | 20482d3279226d2d2802647ffa3ce82e511b74d7 [diff] |
pinctrl: baytrail: Register GPIO chip after chip->to_irq is set If chip->to_irq is NULL ACPI GPIO helpers don't register GPIO event handlers thus preventing any ACPI GPIO triggered events. Solve this by calling gpiochip_add() after we have set up drivers chip->to_irq hook. Signed-off-by: Jin Yao <yao.jin@intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>