OSDN Git Service

watchdog: keembay: Remove timeout update in the WDT start function
authorShruthi Sanil <shruthi.sanil@intel.com>
Mon, 17 May 2021 17:49:49 +0000 (23:19 +0530)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 21 Jun 2021 06:48:55 +0000 (08:48 +0200)
commit9eb25269271c679e8cfcc7df5c0c5e9d0572fc27
tree35788d0ddfb18680e1647c86ba94a5cf44134970
parent0e36a09faea25f4564d41a0c28938199b605148e
watchdog: keembay: Remove timeout update in the WDT start function

Removed set timeout from the start WDT function. There is a function
defined to set the timeout. Hence no need to set the timeout again in
start function as the timeout would have been already updated
before calling the start/enable.

Fixes: fa0f8d51e90d ("watchdog: Add watchdog driver for Intel Keembay Soc")
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Kris Pan <kris.pan@intel.com>
Signed-off-by: Shruthi Sanil <shruthi.sanil@intel.com>
Link: https://lore.kernel.org/r/20210517174953.19404-6-shruthi.sanil@intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/keembay_wdt.c