mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
iommu/mediatek: fix device leak on of_xlate()
commitb3f1ee1828upstream. Make sure to drop the reference taken to the iommu platform device when looking up its driver data during of_xlate(). Fixes:0df4fabe20("iommu/mediatek: Add mt8173 IOMMU driver") Cc: stable@vger.kernel.org # 4.6 Acked-by: Robin Murphy <robin.murphy@arm.com> Reviewed-by: Yong Wu <yong.wu@mediatek.com> Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9d90e4e898
commit
df5b008058
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue