]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] net/smc911x: match up spin lock/unlock
authorPeter Korsgaard <jacmet@sunsite.dk>
Sat, 3 Feb 2007 09:13:50 +0000 (01:13 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 3 Feb 2007 19:26:06 +0000 (11:26 -0800)
commit24d8f6aded45aca87dec6d9c037b75b189e3d731
tree5702797c937772e8d45011ed7287a265479191cb
parent29a002776ba5ef170446910b1f93c480cdd43706
[PATCH] net/smc911x: match up spin lock/unlock

smc911x_phy_configure's error handling unconditionally unlocks the
spinlock even if it wasn't locked. Patch fixes it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/smc911x.c