soc/qman: add return value to interrupt coalesce changing APIs
authorMadalin Bucur <madalin.bucur@nxp.com>
Wed, 21 Nov 2018 11:41:08 +0000 (13:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Nov 2018 19:17:06 +0000 (11:17 -0800)
commit5c664ace8cdfd947d293b97871a4f1e4bedca5b9
treea358e07f4e94a5425390e3abea87c009cd176047
parent830b61ba4ee2b7a33cac160d55275513b1ba4eea
soc/qman: add return value to interrupt coalesce changing APIs

Check that the values received by the portal interrupt coalesce
change APIs are in range.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/soc/fsl/qbman/qman.c
include/soc/fsl/qman.h