]> git.baikalelectronics.ru Git - kernel.git/commit
soc: fsl: dpio: Change bpid type to u16
authorIoana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>
Fri, 14 Dec 2018 16:04:06 +0000 (16:04 +0000)
committerLi Yang <leoyang.li@nxp.com>
Fri, 11 Jan 2019 21:06:54 +0000 (15:06 -0600)
commit18b4fd5bc04b0d257d41d871ebb5550330e5a995
tree717a824561951a85b057d0f47fed59e6e9c49c78
parent155a7a7e0649ca52fdfd14f04b0d8f4359b4d261
soc: fsl: dpio: Change bpid type to u16

In all QBMan registers, the buffer pool id field is two bytes long.
The low level qbman APIs reflect this, but the high level DPIO ones
use u32. Modify them in order to avoid implicit downcasts.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/dpio/dpio-service.c
include/soc/fsl/dpaa2-io.h