Skip to content

Commit cc9cc79

Browse files
bebarinoWim Van Sebroeck
authored andcommitted
watchdog: qcom: Use irq flags from firmware
The DT or ACPI tables should tell the driver what the irq flags are. Given that this driver probes only on DT based platforms and those DT platforms specify the irq flags we can safely drop the forced irq flag setting here. Cc: Andy Gross <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: Sai Prakash Ranjan <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Reviewed-by: Sai Prakash Ranjan <[email protected]> Link: https://lore.kernel.org/r/[email protected] [groeck: Context conflict resolution] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent b1413e6 commit cc9cc79

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/watchdog/qcom-wdt.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,7 @@ static int qcom_wdt_probe(struct platform_device *pdev)
263263
/* check if there is pretimeout support */
264264
irq = platform_get_irq_optional(pdev, 0);
265265
if (data->pretimeout && irq > 0) {
266-
ret = devm_request_irq(dev, irq, qcom_wdt_isr,
267-
IRQF_TRIGGER_RISING,
266+
ret = devm_request_irq(dev, irq, qcom_wdt_isr, 0,
268267
"wdt_bark", &wdt->wdd);
269268
if (ret)
270269
return ret;

0 commit comments

Comments
 (0)