]> git.sur5r.net Git - u-boot/commit
e1000: releasing semaphore once no longer needed
authorTim Harvey <tharvey@gateworks.com>
Tue, 19 May 2015 17:01:18 +0000 (10:01 -0700)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 11 Aug 2015 18:10:01 +0000 (13:10 -0500)
commit7e2d991d63f2d24d567e259c822f24aa08c85d88
tree06ea800c16d1be728b7cad2abc6c1bd6e78036c4
parente2c1c5bae619d2e87505de99f907a26237640bc9
e1000: releasing semaphore once no longer needed

Once the hwsw semaphore is acquired, it must be released when access to the
hw is completed. Without this subsequent calls to acquire will timeout
obtaining the semaphore.

Cc: Marcel Ziswiler <marcel@ziswiler.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Aneesh Bansal <aneesh.bansal@freescale.com>
Cc: Naveen Burmi <NaveenBurmi@freescale.com>
Cc: Po Liu <po.liu@freescale.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Alison Wang <alison.wang@freescale.com>
Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
Cc: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Cc: York Sun <yorksun@freescale.com>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
drivers/net/e1000.c