Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90b54bcc authored by Anup Patel's avatar Anup Patel Committed by Greg Kroah-Hartman
Browse files

mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush sequence



commit a371c10e upstream.

As-per suggestion from FlexRM HW folks, we have to first set
FlexRM ring flush state and then clear it for FlexRM ring flush
to work properly.

Currently, the FlexRM driver has incomplete FlexRM ring flush
sequence which causes repeated insmod+rmmod of mailbox client
drivers to fail.

This patch fixes FlexRM ring flush sequence in flexrm_shutdown()
as described above.

Fixes: dbc049ee ("mailbox: Add driver for Broadcom FlexRM
ring manager")

Signed-off-by: default avatarAnup Patel <anup.patel@broadcom.com>
Reviewed-by: default avatarScott Branden <scott.branden@broadcom.com>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 39b3926a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment