diff options
author | Madalin Bucur <madalin.bucur@nxp.com> | 2019-10-31 17:37:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-31 22:13:34 +0300 |
commit | e06eea555b878f2c95b498aa1c485250ad30c960 (patch) | |
tree | 5b5e27ecc0843b0c361d37eb33f20875d8366942 /include/soc/fsl | |
parent | a2d00f3db73dc4f6f6afcc95c1db809ea9019306 (diff) | |
download | linux-e06eea555b878f2c95b498aa1c485250ad30c960.tar.xz |
dpaa_eth: register a device link for the qman portal used
Before this change, unbinding the QMan portals did not trigger a
corresponding unbinding of the dpaa_eth making use of it; the first
QMan portal related operation issued afterwards crashed the kernel.
The device link ensures the dpaa_eth dependency upon the qman portal
used is honoured at the QMan portal removal.
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/soc/fsl')
-rw-r--r-- | include/soc/fsl/qman.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/soc/fsl/qman.h b/include/soc/fsl/qman.h index c499c5cfa7c9..cfe00e08e85b 100644 --- a/include/soc/fsl/qman.h +++ b/include/soc/fsl/qman.h @@ -926,13 +926,6 @@ struct qman_portal *qman_get_affine_portal(int cpu); int qman_start_using_portal(struct qman_portal *p, struct device *dev); /** - * qman_stop_using_portal - deregister a device link for the portal user - * @p: the portal that will no longer be in use - * @dev: the device that uses the portal - */ -void qman_stop_using_portal(struct qman_portal *p, struct device *dev); - -/** * qman_p_poll_dqrr - process DQRR (fast-path) entries * @limit: the maximum number of DQRR entries to process * |