Commit 6d2061b9 authored by Anup Patel's avatar Anup Patel Committed by Jassi Brar

mailbox: bcm-flexrm-mailbox: Fix mask used in CMPL_START_ADDR_VALUE()

The mask used in CMPL_START_ADDR_VALUE() should be 27bits instead of
26bits. This incorrect mask was causing completion writes to 40bits
physical address fail.

This patch fixes mask used in CMPL_START_ADDR_VALUE() macro.

Fixes: dbc049ee ("mailbox: Add driver for Broadcom FlexRM
ring manager")
Signed-off-by: default avatarAnup Patel <>
Reviewed-by: default avatarRay Jui <>
Reviewed-by: default avatarScott Branden <>
Signed-off-by: default avatarJassi Brar <>
parent acf7e50a
......@@ -97,7 +97,7 @@
/* Register RING_CMPL_START_ADDR fields */
((u32)((((u64)(pa)) >> RING_CMPL_ALIGN_ORDER) & 0x03ffffff))
((u32)((((u64)(pa)) >> RING_CMPL_ALIGN_ORDER) & 0x07ffffff))
/* Register RING_CONTROL fields */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment