soc: fsl: dpio: Prefer the CPU affine DPIO
authorRoy Pledge <roy.pledge@nxp.com>
Fri, 24 Apr 2020 11:51:12 +0000 (14:51 +0300)
committerLi Yang <leoyang.li@nxp.com>
Fri, 22 May 2020 22:52:37 +0000 (17:52 -0500)
commitd0bab301a0462ae46f65fea0af01b938d709aba7
tree51d8ca59e20a8e7db06f0178a8769f559c7290aa
parent162b323c3d0820617289bd67d1895d5e7541cc3a
soc: fsl: dpio: Prefer the CPU affine DPIO

Use the cpu affine DPIO unless there isn't one which can happen
if less DPIOs than cores are assign to the kernel.

Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/dpio/dpio-service.c