wlcore: remove some unnecessary event mailbox address reads
authorLuciano Coelho <coelho@ti.com>
Wed, 30 Nov 2011 13:02:47 +0000 (15:02 +0200)
committerLuciano Coelho <coelho@ti.com>
Thu, 12 Apr 2012 05:43:58 +0000 (08:43 +0300)
commit4263c5f27c0403ad750c4f2509e5396e630b6e6e
tree339e2bb42b5b90f0490466d68409070ce59d2526
parentd203e59c4b56d56916a804ebeb04b0e6d92adf4c
wlcore: remove some unnecessary event mailbox address reads

We were reading the even mailbox address three times, which was
completely unnecessary and complicated things regarding partition
selection.  Remove the unnecessry reads and set the address for
mailbox 1 and 2 after the first read.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/boot.c
drivers/net/wireless/ti/wlcore/event.c
drivers/net/wireless/ti/wlcore/event.h
drivers/net/wireless/ti/wlcore/wlcore.h