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:
Maulik Shah 2019-10-30 00:11:40 +05:30
commit 2735656c73

View file

@ -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)