[PATCH] fix race and remove BKL from wdt977
We've seen this in several other drivers, most recently the indydog one. If two simultaneous opens occur, they race, they device gets opened twice, blah, blah, blah. Using atomic bitops fixes this. The BKL is not needed.
Showing
Please register or sign in to comment