diff options
| author | Théo Lebrun <[email protected]> | 2025-02-05 17:36:51 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-03-14 08:18:02 +0000 |
| commit | 9925aa4b025e46cffc9fc98c5fb28a4a303a739b (patch) | |
| tree | 59023b7be62cbeb7d119e472823b61396e0c8fca /drivers/pci/controller/pci-host-common.c | |
| parent | usb: cdns3-ti: move reg writes to separate function (diff) | |
| download | kernel-9925aa4b025e46cffc9fc98c5fb28a4a303a739b.tar.gz kernel-9925aa4b025e46cffc9fc98c5fb28a4a303a739b.zip | |
usb: cdns3-ti: run HW init at resume() if HW was reset
At runtime_resume(), read the W1 (Wrapper Register 1) register to detect
if an hardware reset occurred. If it did, run the hardware init sequence.
This callback will be called at system-wide resume. Previously, if a
reset occurred during suspend, we would crash. The wrapper config had
not been written, leading to invalid register accesses inside cdns3.
Signed-off-by: Théo Lebrun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
