summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/pm8916_wdt.c
diff options
context:
space:
mode:
authorZhang Qilong <zhangqilong3@huawei.com>2020-10-30 16:49:09 +0100
committerWim Van Sebroeck <wim@linux-watchdog.org>2020-12-13 16:17:40 +0100
commit8711071e9700b67045fe5518161d63f7a03e3c9e (patch)
treeff4acdab7061b0481e2750a52a0a7420ecf1183e /drivers/watchdog/pm8916_wdt.c
parentwatchdog: qcom_wdt: set WDOG_HW_RUNNING bit when appropriate (diff)
downloadlinux-8711071e9700b67045fe5518161d63f7a03e3c9e.tar.xz
linux-8711071e9700b67045fe5518161d63f7a03e3c9e.zip
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>
Diffstat (limited to 'drivers/watchdog/pm8916_wdt.c')
0 files changed, 0 insertions, 0 deletions