]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'mhi-fixes-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mani...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 13:45:22 +0000 (15:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 13:45:22 +0000 (15:45 +0200)
commita11f8746207206e211d5cf691d0ca36afb90eeca
tree8b09904b8bdf804f0114954a340e5da8596da374
parentc02c8228f39a35a18b7da5bed4327a96bdd1c782
parentc443f41061ecf3fc2245d38cf2e5afb61d9de7d3
Merge tag 'mhi-fixes-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi into char-misc-linus

Manivannan writes:

MHI fixes for v5.18

Couple of patches fixing the hibernation issue seen on MHI endpoint devices like
SDX65 modems:

- During hibernation, the host puts the device into D3cold after thaw() stage.
But at that time, the device would be in M0 state. So the device emits a
warning (not visible to the host but to device firmware only) stating invalid
transition. This is fixed by adding a poweroff() callback that puts the device
into M3 before D3cold.

- There is a possibility that the recovery worker might be running while trying
to powerdown the device. So flush the recovery worker before that.

* tag 'mhi-fixes-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi:
  bus: mhi: host: pci_generic: Flush recovery worker during freeze
  bus: mhi: host: pci_generic: Add missing poweroff() PM callback