Skip to content
Commit 7d641938 authored by Eric Anholt's avatar Eric Anholt Committed by Jassi Brar
Browse files

mailbox/bcm2835: Fix mailbox full detection.



With the VC reader blocked and the ARM writing, MAIL0_STA reads empty
permanently while MAIL1_STA goes from empty (0x40000000) to non-empty
(0x00000001-0x00000007) to full (0x80000008).

This bug ended up having no effect on us, because all of our
transactions in the client driver were synchronous and under a mutex.

Suggested-by: default avatarPhil Elwell <phil@raspberrypi.org>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Acked-by: default avatarStephen Warren <swarren@wwwdotorg.org>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 07a7dba1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment