]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
soc/qman: Don't add a new platform device for dma mapping
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Wed, 16 Nov 2016 14:40:21 +0000 (16:40 +0200)
committerScott Wood <oss@buserror.net>
Wed, 23 Nov 2016 07:23:44 +0000 (01:23 -0600)
commit0fbeac3b0f67a50d45e8a7d72ee3e0301ac7e9a9
treed95578e2ba5a3a03bf8d84a0366e87392e3165cd
parent57e68a5e23570ff3ab76772a974724c226fcee7d
soc/qman: Don't add a new platform device for dma mapping

The qman portals are platform devices themselves, so they should
handle dma mappings.  Creating a dummy platform device in order to
support dma mapping operations is not justified (and not portable).
Instead, do the mapping against the first portal that has been
initialised.

Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
drivers/soc/fsl/qbman/qman.c
drivers/soc/fsl/qbman/qman_portal.c
drivers/soc/fsl/qbman/qman_priv.h