summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-plat.c
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-04-05 12:03:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-20 11:13:06 +0300
commit735baf1b23458f71a8b15cb924af22c9ff9cd125 (patch)
treec68aaeaff6101e0d4ac994feadcfea285bcb2e5f /drivers/usb/host/xhci-plat.c
parent091b813d3d1078afba6ed74fa8df2a5bbc9bf124 (diff)
downloadlinux-735baf1b23458f71a8b15cb924af22c9ff9cd125.tar.xz
xhci: fix debugfs register accesses while suspended
Wire up the debugfs regset device pointer so that the controller is resumed before accessing registers to avoid crashing or locking up if it happens to be runtime suspended. Fixes: 02b6fdc2a153 ("usb: xhci: Add debugfs interface for xHCI driver") Cc: stable@vger.kernel.org # 4.15: 30332eeefec8: debugfs: regset32: Add Runtime PM support Cc: stable@vger.kernel.org # 4.15 Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Link: https://lore.kernel.org/r/20230405090342.7363-1-johan+linaro@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-plat.c')
0 files changed, 0 insertions, 0 deletions