diff options
-rw-r--r-- | drivers/staging/fsl_qbman/qman_high.c | 2 | ||||
-rw-r--r-- | include/linux/fsl_qman.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/fsl_qbman/qman_high.c b/drivers/staging/fsl_qbman/qman_high.c index 565de9e..1f5102a 100644 --- a/drivers/staging/fsl_qbman/qman_high.c +++ b/drivers/staging/fsl_qbman/qman_high.c @@ -4963,7 +4963,7 @@ int qman_ceetm_cscn_dcp_get(struct qm_ceetm_ccg *ccg, *vcgid = query_result.cm_query.cdv; *cscn_enabled = (query_result.cm_query.cscn_targ_dcp >> - (7 - dcp_idx)) & 0x1; + dcp_idx) & 0x1; return 0; } EXPORT_SYMBOL(qman_ceetm_cscn_dcp_get); diff --git a/include/linux/fsl_qman.h b/include/linux/fsl_qman.h index 95fdd38..824652c 100644 --- a/include/linux/fsl_qman.h +++ b/include/linux/fsl_qman.h @@ -1245,8 +1245,8 @@ struct qm_mcr_ceetm_ccgr_query { struct qm_cgr_wr_parm wr_parm_g; struct qm_cgr_wr_parm wr_parm_y; struct qm_cgr_wr_parm wr_parm_r; - u8 cscn_targ_dcp; - u16 dcp_lsn; + u16 cscn_targ_dcp; + u8 dcp_lsn; u64 i_cnt:40; u8 __reserved4[3]; u64 a_cnt:40; |