mailbox: bcm-flexrm-mailbox: Fix mask used in CMPL_START_ADDR_VALUE()
authorAnup Patel <anup.patel@broadcom.com>
Tue, 1 Aug 2017 10:35:52 +0000 (16:05 +0530)
committerJassi Brar <jaswinder.singh@linaro.org>
Thu, 31 Aug 2017 03:09:00 +0000 (08:39 +0530)
commit6d2061b981af165d3e45462e0804b5a1f2f4c7bc
tree56252e53082753bb99fff93bc4be0f6884f54583
parentacf7e50a6ba056d668de07b9eadcf6fe9395f167
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: dbc049eee730 ("mailbox: Add driver for Broadcom FlexRM
ring manager")

Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/bcm-flexrm-mailbox.c