• Dave Hansen's avatar
    [PATCH] fix race and remove BKL from wdt977 · 745f4617
    Dave Hansen authored
    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.
    745f4617
wdt977.c 7.9 KB