mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
drivers: pinctrl: msm: Add fwnode when setting up hireachy
Setup fwnode when adding parent domain in hireachy. This is required by gpiolib. Change-Id: I5e63320fb874fb05f548bf55e9fd8409de2095d0 Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
This commit is contained in:
parent
86cb2da52a
commit
2735656c73
1 changed files with 1 additions and 0 deletions
|
|
@ -1154,6 +1154,7 @@ static int msm_gpio_init(struct msm_pinctrl *pctrl)
|
|||
girq->chip = &pctrl->irq_chip;
|
||||
girq->parent_handler = msm_gpio_irq_handler;
|
||||
girq->num_parents = 1;
|
||||
girq->fwnode = pctrl->dev->fwnode;
|
||||
girq->parents = devm_kcalloc(pctrl->dev, 1, sizeof(*girq->parents),
|
||||
GFP_KERNEL);
|
||||
if (!girq->parents)
|
||||
|
|
|
|||
Loading…
Reference in a new issue