Home
last modified time | relevance | path

Searched hist:"8711071 e9700b67045fe5518161d63f7a03e3c9e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/watchdog/
H A Drti_wdt.cdiff 8711071e9700b67045fe5518161d63f7a03e3c9e Fri Oct 30 10:49:09 CDT 2020 Zhang Qilong <zhangqilong3@huawei.com> watchdog: rti-wdt: fix reference leak in rti_wdt_probe

pm_runtime_get_sync() will increment pm usage counter even it
failed. Forgetting to call pm_runtime_put_noidle will result
in reference leak in rti_wdt_probe, so we should fix it.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20201030154909.100023-1-zhangqilong3@huawei.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>