soc: fsl: qbman: Add helper for sanity checking cgr ops
authorSean Anderson <sean.anderson@seco.com>
Fri, 2 Sep 2022 21:57:34 +0000 (17:57 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Sep 2022 13:27:39 +0000 (14:27 +0100)
commitd0e17a4653cebc2c8a20251c837dd1fcec5014d9
tree7eb6515258bdc3be73010e5ea9f7e788afb1d012
parentfca4804f68cfa5516159ff9579a2f702363ea93a
soc: fsl: qbman: Add helper for sanity checking cgr ops

This breaks out/combines get_affine_portal and the cgr sanity check in
preparation for the next commit. No functional change intended.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Acked-by: Camelia Groza <camelia.groza@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/soc/fsl/qbman/qman.c