diff options
author | Sai Prakash Ranjan <[email protected]> | 2019-12-13 12:19:34 +0530 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2020-01-27 15:55:45 +0100 |
commit | e0b4f4e0cf7fa9d62628d4249c765ec18dffd143 (patch) | |
tree | c13af3273dc45cf315297bf453ddee56b108fd59 /drivers/usb/cdns3/cdns3-debug.h | |
parent | f6c98b08381c774a56b2f0f0067da646c23f1447 (diff) |
watchdog: qcom: Use platform_get_irq_optional() for bark irq
platform_get_irq() prints an error message when the interrupt
is not available. So on platforms where bark interrupt is
not specified, following error message is observed on SDM845.
[ 2.975888] qcom_wdt 17980000.watchdog: IRQ index 0 not found
This is also seen on SC7180, SM8150 SoCs as well.
Fix this by using platform_get_irq_optional() instead.
Fixes: 36375491a4395654 ("watchdog: qcom: support pre-timeout when the bark irq is available")
Signed-off-by: Sai Prakash Ranjan <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions