Re: [PATCH] watchdog: Fix runtime PM imbalance on error

2020-05-21 Thread Guenter Roeck
On 5/21/20 1:01 AM, Dinghao Liu wrote: > When watchdog_register_device() returns an error code, > a pairing runtime PM usage counter decrement is needed > to keep the counter balanced. > > Signed-off-by: Dinghao Liu Reviewed-by: Guenter Roeck > --- > drivers/watchdog/omap_wdt.c | 1 + > 1 fil

[PATCH] watchdog: Fix runtime PM imbalance on error

2020-05-21 Thread Dinghao Liu
When watchdog_register_device() returns an error code, a pairing runtime PM usage counter decrement is needed to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/watchdog/omap_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdo