soc/qman: Fix accesses to fqid, cleanup
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Wed, 16 Nov 2016 14:40:25 +0000 (16:40 +0200)
committerScott Wood <oss@buserror.net>
Wed, 23 Nov 2016 07:23:46 +0000 (01:23 -0600)
commitd6753c7e65e70e90ea991797059f4204b66cf523
tree80d976203d6f393684e06d14f908c833380c4ee0
parent7ff07da015c290cd2b0627c53267fbc1336cf055
soc/qman: Fix accesses to fqid, cleanup

Preventively mask every access to the 'fqid' h/w field,
since it is defined as a 24-bit field, for every h/w
descriptor.  Add generic accessors for this field to
ensure correct access.

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