[PATCH 0/2] qcom_wdt bark irq support
From: Jorge Ramirez-Ortiz
Date: Fri Sep 06 2019 - 16:54:18 EST
Support pre-timeout when the bark irq is avaible.
This is the fifth version of the patchset addressing all the review
issues to date:
v5:
include linux/bits.h
pretimeout only enables IRQs if value != 0
remove unnecessary subtract operation
add clarity to the conditional in the probe function
revert the irq registration changes
v4:
remove unnecessary include and private variable
provide macro for WDT EN register values
use pretimeout as per its API intent
handle EPROBE_DEFER on get_irq
modify the irq registration as per pm8916_wdt
v3
remove unecessary variable from the driver's private storage
v2:
register the pre-timeout notifier.
With the second patch in the set, I took the oportunity to do some
cleanup in the same code base removing an unnecesary variable from the
driver's private storage.
Jorge Ramirez-Ortiz (2):
watchdog: qcom: support pre-timeout when the bark irq is available
watchdog: qcom: remove unnecessary variable from private storage
drivers/watchdog/qcom-wdt.c | 85 +++++++++++++++++++++++++++++++------
1 file changed, 72 insertions(+), 13 deletions(-)
--
2.23.0