intel-iommu: Fix lookup in add device
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 13 Nov 2012 17:22:03 +0000 (10:22 -0700)
committerJoerg Roedel <joro@8bytes.org>
Sat, 17 Nov 2012 12:27:15 +0000 (13:27 +0100)
commit3da4af0affbb797e8ac4c2b4598da0c34b8cc52a
treecf111010189531f3846b4f30476102c3f69c8f34
parentb334b64862efd0eee8d07f2faabbe4b56ee974cd
intel-iommu: Fix lookup in add device

We can't assume this device exists, fall back to the bridge itself.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Tested-by: Matthew Thode <prometheanfire@gentoo.org>
Cc: stable@vger.kernel.org
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/intel-iommu.c