diff options
author | Heiko Stuebner <heiko@sntech.de> | 2015-05-21 03:57:29 -0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-05-29 04:29:48 -0400 |
commit | ec4292defd42fe45dc9807cedd22b00ffa9f09ae (patch) | |
tree | 1e83040d2f68b6f3c6a3d39c4b107efe87d177d9 /drivers/iommu/rockchip-iommu.c | |
parent | d4dd920cc2f6a948f07544caaa22bccb63378a3a (diff) |
iommu/rockchip: Silence attaching and detaching of devices
Currently the driver emits a log line every time a device
attaches or detaches - which happens at every unblank/blank
of the drm for example. The message itself also has no real
value to the average user and is merely useful when
debugging a problem, so make it a dev_dbg instead.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/rockchip-iommu.c')
-rw-r--r-- | drivers/iommu/rockchip-iommu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/rockchip-iommu.c b/drivers/iommu/rockchip-iommu.c index 31004c040578..37f6a594c1c8 100644 --- a/drivers/iommu/rockchip-iommu.c +++ b/drivers/iommu/rockchip-iommu.c | |||
@@ -785,7 +785,7 @@ static int rk_iommu_attach_device(struct iommu_domain *domain, | |||
785 | list_add_tail(&iommu->node, &rk_domain->iommus); | 785 | list_add_tail(&iommu->node, &rk_domain->iommus); |
786 | spin_unlock_irqrestore(&rk_domain->iommus_lock, flags); | 786 | spin_unlock_irqrestore(&rk_domain->iommus_lock, flags); |
787 | 787 | ||
788 | dev_info(dev, "Attached to iommu domain\n"); | 788 | dev_dbg(dev, "Attached to iommu domain\n"); |
789 | 789 | ||
790 | rk_iommu_disable_stall(iommu); | 790 | rk_iommu_disable_stall(iommu); |
791 | 791 | ||
@@ -819,7 +819,7 @@ static void rk_iommu_detach_device(struct iommu_domain *domain, | |||
819 | 819 | ||
820 | iommu->domain = NULL; | 820 | iommu->domain = NULL; |
821 | 821 | ||
822 | dev_info(dev, "Detached from iommu domain\n"); | 822 | dev_dbg(dev, "Detached from iommu domain\n"); |
823 | } | 823 | } |
824 | 824 | ||
825 | static struct iommu_domain *rk_iommu_domain_alloc(unsigned type) | 825 | static struct iommu_domain *rk_iommu_domain_alloc(unsigned type) |