diff options
Diffstat (limited to 'arch/x86/kernel/amd_iommu.c')
| -rw-r--r-- | arch/x86/kernel/amd_iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c index 81872604eb76..772e91088e40 100644 --- a/arch/x86/kernel/amd_iommu.c +++ b/arch/x86/kernel/amd_iommu.c | |||
| @@ -2073,7 +2073,7 @@ static int amd_iommu_attach_device(struct iommu_domain *dom, | |||
| 2073 | 2073 | ||
| 2074 | old_domain = domain_for_device(devid); | 2074 | old_domain = domain_for_device(devid); |
| 2075 | if (old_domain) | 2075 | if (old_domain) |
| 2076 | return -EBUSY; | 2076 | detach_device(old_domain, devid); |
| 2077 | 2077 | ||
| 2078 | attach_device(iommu, domain, devid); | 2078 | attach_device(iommu, domain, devid); |
| 2079 | 2079 | ||
