]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit000de5417107623925a4cf0310579f744ff43c28
tree5f1da2faff59981bf1da3bbbe7807fc9906fe058
parentfb33c6510d5595144d585aa194d377cf74d31911
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