diff options
author | Miaoqian Lin <[email protected]> | 2022-01-07 08:09:11 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2022-02-28 14:01:57 +0100 |
commit | 9826e393e4a8c3df474e7f9eacd3087266f74005 (patch) | |
tree | a65623e32351160b77f14c02d0054389e52a1fa9 /net/lapb/lapb_in.c | |
parent | b00833768e170a31af09268f7ab96aecfcca9623 (diff) |
iommu/tegra-smmu: Fix missing put_device() call in tegra_smmu_find
The reference taken by 'of_find_device_by_node()' must be released when
not needed anymore.
Add the corresponding 'put_device()' in the error handling path.
Fixes: 765a9d1d02b2 ("iommu/tegra-smmu: Fix mc errors on tegra124-nyan")
Signed-off-by: Miaoqian Lin <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions