diff options
author | Andy Green <andy.green@linaro.org> | 2012-03-12 09:48:21 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2012-03-13 11:20:45 +0800 |
commit | 41be59f91d215189da4d500516fe7e3d2426e91c (patch) | |
tree | 419eb7b6889bbb00ded8c6897ec101be34394ef7 | |
parent | 71c86fbecd414df80b283fad9438d1dd9c735f15 (diff) |
UNRESOLVED iommu domain wants bus index is more needed to provide it
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | drivers/remoteproc/omap_remoteproc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/remoteproc/omap_remoteproc.c b/drivers/remoteproc/omap_remoteproc.c index 2040de7e500..5a31ef76b74 100644 --- a/drivers/remoteproc/omap_remoteproc.c +++ b/drivers/remoteproc/omap_remoteproc.c @@ -301,7 +301,9 @@ static int omap_rproc_iommu_init(struct rproc *rproc, iommu_set_secure(pdata->iommu_name, rproc->secure_mode, rproc->secure_ttb); - rpp->domain = iommu_domain_alloc(pdev->dev.bus); + // !!! are we providing this bus index meaningfully? + return -EINVAL; // !!! BROKEN + rpp->domain = iommu_domain_alloc(pdev->dev.bus); if (!rpp->domain) { dev_err(dev, "can't alloc iommu domain\n"); ret = -ENOMEM; |