diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2019-05-21 15:27:35 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-27 14:50:51 +0100 |
commit | f771e86b02301bf00c92aa87e9994d974414cab7 (patch) | |
tree | aff234cf99935f7d432ec1362ff9d0337f42d106 /drivers/isdn/hysdn | |
parent | 725a96b6f66eaea3d700b30f84c18c76eee404bd (diff) | |
download | linux-stable-f771e86b02301bf00c92aa87e9994d974414cab7.tar.gz linux-stable-f771e86b02301bf00c92aa87e9994d974414cab7.tar.bz2 linux-stable-f771e86b02301bf00c92aa87e9994d974414cab7.zip |
iommu: Use right function to get group for device
[ Upstream commit 57274ea25736496ee019a5c40479855b21888839 ]
The iommu_group_get_for_dev() will allocate a group for a
device if it isn't in any group. This isn't the use case
in iommu_request_dm_for_dev(). Let's use iommu_group_get()
instead.
Fixes: d290f1e70d85a ("iommu: Introduce iommu_request_dm_for_dev()")
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/isdn/hysdn')
0 files changed, 0 insertions, 0 deletions