Commit 7d51f37ed48e for kernel

commit 7d51f37ed48e11a0a073ec428abe9d61c4449072
Merge: 06ef54bf3ab7 d8cda274400b
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Nov 20 19:01:31 2026 -0800

    Merge tag 'watchdog-for-v7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

    Pull watchdog fixes from Guenter Roeck:

     - Core registration and reference counting: clear dangling wd_data
       pointers and stop timers/workers on registration failure, release
       unclaimed running-watchdog references, avoid unbalanced module_put()
       in watchdog_open(), and restore WDOG_HW_RUNNING if stop() fails

     - Core locking and keepalive state: add missing wd_data and old_wd_data
       locking in open, unregister, and last_hw_keepalive paths, and update
       WDOG_ACTIVE and last_keepalive before pinging a running watchdog in
       watchdog_start()

     - Core suspend/resume: prevent in-flight ping work from re-arming the
       keepalive timer and stop the software pretimeout hrtimer while
       suspended to avoid spurious pretimeout events

     - stm32_iwdg: set drvdata before requesting the pretimeout IRQ to avoid
       a NULL dereference, serialize EWCR register updates with a spinlock,
       and use devm_pm_set_wake_irq() to fix wake_irq leaks

     - npcm: keep the clock prepared from probe so the atomic restart
       handler only calls clk_enable() instead of sleeping during reboot

    * tag 'watchdog-for-v7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
      watchdog: core: Update last_keepalive in watchdog_start()
      watchdog: core: Fix unbalanced module_put() in watchdog_open()
      watchdog: core: Cancel timer if cdev_device_add() fails
      watchdog: core: Restore WDOG_HW_RUNNING if stopping watchdog fails
      watchdog: core: Stop pretimeout hrtimer on suspend
      watchdog: core: Prevent ping worker from re-arming timer on suspend
      watchdog: core: Add missing locks
      watchdog: core: Clear wd_data pointer on errors
      watchdog: stm32_iwdg: use managed variant of dev_pm_set_wake_irq()
      watchdog: stm32_iwdg: serialize accesses to EWCR register
      watchdog: stm32_iwdg: set driver data before requesting interrupt
      watchdog: npcm: fix sleeping clock call in restart handler