]> asedeno.scripts.mit.edu Git - linux.git/commit
of: iommu: Increment DT node refcount in of_iommu_set_ops()
authorAnup Patel <anup.patel@broadcom.com>
Wed, 27 Jan 2016 05:21:16 +0000 (10:51 +0530)
committerWill Deacon <will.deacon@arm.com>
Thu, 18 Feb 2016 15:02:43 +0000 (15:02 +0000)
commit45bb966d3dc7c6d4f0bd7673b5fe51deebcaf70b
treee31a2c33555a0c15677becfa98b8a68b38583739
parent9adb95949a343dac53b1cd81dc973b5f815c88d4
of: iommu: Increment DT node refcount in of_iommu_set_ops()

We are saving pointer to iommu DT node in of_iommu_set_ops()
hence we should increment DT node ref count.

Reviewed-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/of_iommu.c