Only the root device generates MSIs (it is the only one talking to
the ITS), so propagating the domain is pretty pointless. Remove it.

Reviewed-by: Ioana Ciornei <[email protected]>
Tested-by: Ioana Ciornei <[email protected]> # LX2160ARDB, LS2088ARDB
Tested-by: Sascha Bischoff <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
---
 drivers/bus/fsl-mc/fsl-mc-bus.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c
index c117745cf2065..1a6c8e3c0b27f 100644
--- a/drivers/bus/fsl-mc/fsl-mc-bus.c
+++ b/drivers/bus/fsl-mc/fsl-mc-bus.c
@@ -854,14 +854,12 @@ int fsl_mc_device_add(struct fsl_mc_obj_desc *obj_desc,
        } else {
                /*
                 * A non-DPRC object has to be a child of a DPRC, use the
-                * parent's ICID and interrupt domain.
+                * parent's ICID.
                 */
                mc_dev->icid = parent_mc_dev->icid;
                mc_dev->dma_mask = FSL_MC_DEFAULT_DMA_MASK;
                mc_dev->dev.dma_mask = &mc_dev->dma_mask;
                mc_dev->dev.coherent_dma_mask = mc_dev->dma_mask;
-               dev_set_msi_domain(&mc_dev->dev,
-                                  dev_get_msi_domain(&parent_mc_dev->dev));
        }
 
        /*
-- 
2.47.3


Reply via email to