watchdog: dw_wdt: Fix the error handling path of dw_wdt_drv_probe()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 26 Apr 2023 06:52:48 +0000 (08:52 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 29 Apr 2023 06:08:41 +0000 (08:08 +0200)
commit7f5390750645756bd5da2b24fac285f2654dd922
tree525f38b6e6f2237f9e56c3e4681a34b84e9b58a6
parentb23c1f807cb20a9a4c42b63c3d80f63b045a43ef
watchdog: dw_wdt: Fix the error handling path of dw_wdt_drv_probe()

The commit in Fixes has only updated the remove function and missed the
error handling path of the probe.

Add the missing reset_control_assert() call.

Fixes: 65a3b6935d92 ("watchdog: dw_wdt: get reset lines from dt")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/fbb650650bbb33a8fa2fd028c23157bedeed50e1.1682491863.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/dw_wdt.c