Skip to content
Commit 7ff2b7a1 authored by Johan Hovold's avatar Johan Hovold Committed by Bjorn Helgaas
Browse files

PCI/ASPM: Add pci_disable_link_state_locked() lockdep assert

Add a lockdep assert to pci_disable_link_state_locked() which should only
be called with a pci_bus_sem read lock held.

Link: https://lore.kernel.org/r/20231128081512.19387-7-johan+linaro@kernel.org


Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
[bhelgaas: include function name in subject, commit log]
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
parent e673d383
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment