diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-11-08 01:44:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-17 17:02:26 +0300 |
commit | 51f2246158f686c881859f4b620f831f06e296e1 (patch) | |
tree | 6b75d0dca6a3cb8710ca5d9f0692a66f18be4d4f /drivers/usb/host/xhci-ext-caps.h | |
parent | 7ad4a0b1d46b2612f4429a72afd8f137d7efa9a9 (diff) | |
download | linux-51f2246158f686c881859f4b620f831f06e296e1.tar.xz |
usb: xhci: tegra: Check padctrl interrupt presence in device tree
Older device-trees don't specify padctrl interrupt and xhci-tegra driver
now fails to probe with -EINVAL using those device-trees. Check interrupt
presence and keep runtime PM disabled if it's missing to fix the trouble.
Fixes: 971ee247060d ("usb: xhci: tegra: Enable ELPG for runtime/system PM")
Cc: <stable@vger.kernel.org> # 5.14+
Reported-by: Nicolas Chauvet <kwizart@gmail.com>
Tested-by: Nicolas Chauvet <kwizart@gmail.com> # T124 TK1
Tested-by: Thomas Graichen <thomas.graichen@gmail.com> # T124 Nyan Big
Tested-by: Thierry Reding <treding@nvidia.com> # Tegra CI
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20211107224455.10359-1-digetx@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-ext-caps.h')
0 files changed, 0 insertions, 0 deletions