diff options
| author | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
| commit | 1ac731c529cd4d6adbce134754b51ff7d822b145 (patch) | |
| tree | 143ab3f35ca5f3b69f583c84e6964b17139c2ec1 /drivers/watchdog/watchdog_dev.c | |
| parent | 07b4c950f27bef0362dc6ad7ee713aab61d58149 (diff) | |
| parent | 54116d442e001e1b6bd482122043b1870998a1f3 (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 6.6 merge window.
Diffstat (limited to 'drivers/watchdog/watchdog_dev.c')
| -rw-r--r-- | drivers/watchdog/watchdog_dev.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/watchdog_dev.c b/drivers/watchdog/watchdog_dev.c index 0122e8796879..15df74e11a59 100644 --- a/drivers/watchdog/watchdog_dev.c +++ b/drivers/watchdog/watchdog_dev.c @@ -192,7 +192,7 @@ static int watchdog_ping(struct watchdog_device *wdd)  {  	struct watchdog_core_data *wd_data = wdd->wd_data; -	if (!watchdog_active(wdd) && !watchdog_hw_running(wdd)) +	if (!watchdog_hw_running(wdd))  		return 0;  	set_bit(_WDOG_KEEPALIVE, &wd_data->status); @@ -268,6 +268,7 @@ static int watchdog_start(struct watchdog_device *wdd)  		trace_watchdog_start(wdd, err);  		if (err == 0) {  			set_bit(WDOG_ACTIVE, &wdd->status); +			set_bit(WDOG_HW_RUNNING, &wdd->status);  			wd_data->last_keepalive = started_at;  			wd_data->last_hw_keepalive = started_at;  			watchdog_update_worker(wdd); @@ -1005,7 +1006,6 @@ static struct miscdevice watchdog_miscdev = {  static struct class watchdog_class = {  	.name =		"watchdog", -	.owner =	THIS_MODULE,  	.dev_groups =	wdt_groups,  };  |