summaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-02-28 17:53:22 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-09 15:29:19 +0100
commite1edf95e0f4274f4d68aa00387a03a92b51cbbe3 (patch)
treed83cfafd151cccf679c70d4bc2f180596f00c5bf /drivers/usb/cdns3
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff)
downloadlinux-stable-e1edf95e0f4274f4d68aa00387a03a92b51cbbe3.tar.gz
linux-stable-e1edf95e0f4274f4d68aa00387a03a92b51cbbe3.tar.bz2
linux-stable-e1edf95e0f4274f4d68aa00387a03a92b51cbbe3.zip
usb: host: xhci-tegra: Drop using of_irq_parse_one()
Drivers generally shouldn't be using of_irq_parse_one() directly as it is a low-level interrupt parsing API. The exceptions are cases that need the values from the 'interrupts' property. This is not the case for Tegra XHCI driver as it just uses of_irq_parse_one() to test for 'interrupts' being absent or invalid. Instead, just make the interrupt optional on any error other than deferred probe. The exact reason for failing to get the interrupt is not that important. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230228235322.13289-1-robh@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions