]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd869ee5bfd13345957a96add5ab700af71a8525c
tree339e2bb42b5b90f0490466d68409070ce59d2526
parent9978ba53d687c904e96667023c07abe2dd1b2444
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