• Ben Dooks's avatar
    [WATCHDOG] s3c2410_wdt.c-wdog-fix3.patch · fc5c13fc
    Ben Dooks authored
    This patch fixes the following problems:
    - debug is now configurable from cmdline (see previous emails)
    - re-worked the open call
    - moved clock enable to before we setup watchdog
      (some units on the s3c2410 don't like their registers changing
       without the clock enabled)
    - fixed bug in having two timer counts, one unused
    - fixed semaphore initialisation, so opens no longer blow up
    fc5c13fc
s3c2410_wdt.c 11.8 KB