]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: qcom-wdt: disable pretimeout on timer platform
authorAnsuel Smith <ansuelsmth@gmail.com>
Tue, 4 Feb 2020 19:56:48 +0000 (20:56 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Wed, 18 Mar 2020 10:10:08 +0000 (11:10 +0100)
commit6ca026e8dc6ea5d17b9f46e2fdb4ac2b17bc75e2
tree5f1da2faff59981bf1da3bbbe7807fc9906fe058
parent300f50a3847de83aa4b2e44fa28dd668de331982
watchdog: qcom-wdt: disable pretimeout on timer platform

Some platform like ipq806x doesn't support pretimeout and define
some interrupts used by qcom,msm-timer. Change the driver to check
and use pretimeout only on qcom,kpss-wdt as it's the only platform
that actually supports it.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20200204195648.23350-1-ansuelsmth@gmail.com
[groeck: Conflict resolution]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/qcom-wdt.c