spmi: viospmi-pmic-arb: update of_node property

Changed the spmi controller argument to virt_spmi.

Change-Id: Ica00f8a62c3829f4866a85fc79c8a8fa25c8d760
Signed-off-by: vagdhan kumar kanukurthi <quic_vagdhank@quicinc.com>
This commit is contained in:
vagdhan kumar kanukurthi 2023-05-30 10:24:03 +05:30 committed by Gerrit - the friendly Code Review server
parent 6b46d61497
commit 2ae57ab8fb

View file

@ -563,7 +563,7 @@ static int qpnpint_irq_domain_translate(struct irq_domain *d,
"intspec[0] 0x%1x intspec[1] 0x%02x intspec[2] 0x%02x\n",
intspec[0], intspec[1], intspec[2]);
if (irq_domain_get_of_node(d) != pa->spmic->dev.of_node)
if (irq_domain_get_of_node(d) != (pa->vs->vdev->dev.parent)->of_node)
return -EINVAL;
if (fwspec->param_count != 4)
return -EINVAL;