Messages in this thread | | | Date | Tue, 30 Aug 2022 10:16:37 +0200 | Subject | Re: [PATCH v4 1/6] iommu/mediatek: Add platform_device_put for recovering the device refcnt | From | AngeloGioacchino Del Regno <> |
| |
Il 24/08/22 08:43, Yong Wu ha scritto: > Add platform_device_put to match with of_find_device_by_node. > > Meanwhile, I add a new variable "pcommdev" which is for smi common device. > Otherwise, "platform_device_put(plarbdev)" for smi-common dev may be not > readable. And add a checking for whether pcommdev is NULL. > > Fixes: d2e9a1102cfc ("iommu/mediatek: Contain MM IOMMU flow with the MM TYPE") > Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
| |