ARM: bcm2835: fix mailbox timeout
authorStephen Warren <swarren@wwwdotorg.org>
Tue, 14 Jan 2014 02:50:12 +0000 (19:50 -0700)
committerTom Rini <trini@ti.com>
Mon, 20 Jan 2014 22:11:39 +0000 (17:11 -0500)
commit004c10598b648341c08ebcbf77e9385a064aec47
treea4e5eb2c7fb23388ffa5a7e4e658932dcab6021c
parentf66f2aa265f00d4fcf49cdfb23bcfd64360b291d
ARM: bcm2835: fix mailbox timeout

My original intention was to have a 100ms timeout. However, the timer
operations used return values in ms not us, so we ended up with a 100s
timeout instead. Fixing this exposes that some operations need longer
to operate than 100ms, so bump the timeout up to a whole second.

Reported-by: Andre Heider <a.heider@gmail.com>
Reviewed-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
arch/arm/cpu/arm1176/bcm2835/mbox.c