Skip to content
Commit 605a7bca authored by Jin Yao's avatar Jin Yao Committed by Linus Walleij
Browse files

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: default avatarJin Yao <yao.jin@intel.com>
Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 20482d32
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment