Commit 6ca05bc
committed
iommu/of: Free fwspec on probe deferrel
For devices with multiple iommus of_iommu_configure_device() potentially
inits the fwspec for one of the iommus but another iommu device might
have not yet been probe resulting in -EPROBE_DEFER. Clear the fwspec in
such cases to ensure the next of_iommu_configure() call retries to
configure all iommus.
Signed-off-by: Janne Grunau <j@jannau.net>1 parent ddb7bbc commit 6ca05bc
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
| |||
0 commit comments