Robin Murphy 3a8d40b6ce iommu/mediatek: Fix M4Uv2 group refcounting
For each subsequent device assigned to the m4u_group after its initial
allocation, we need to take an additional reference. Otherwise, the
caller of iommu_group_get_for_dev() will inadvertently remove the
reference taken by iommu_group_add_device(), and the group will be
freed prematurely if any device is removed.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2016-11-15 12:25:33 +01:00
..
2016-10-06 10:49:01 -07:00
2016-08-01 07:25:10 -04:00
2016-11-15 12:25:33 +01:00
2016-08-01 07:25:10 -04:00
2015-02-03 18:47:18 +01:00
2016-02-16 08:04:06 -08:00
2016-06-21 13:56:00 +02:00
2016-09-16 09:34:15 +01:00