On Fri, 11 Dec 2020 at 21:22, Hemant Kumar <hemantk@xxxxxxxxxxxxxx> wrote: > > Hi Loic, > > On 12/10/20 2:02 AM, Loic Poulain wrote: > > Add support for system wide suspend/resume. During suspend, MHI > > device controller must be put in M3 state and PCI bus in D3 state. > > > > Add a recovery procedure allowing to reinitialize the device in case > > of error during resume steps, which can happen if device loses power > > (and so its context) while system suspend. > > > > Signed-off-by: Loic Poulain <loic.poulain@xxxxxxxxxx> > > --- > >[..] > > +int __maybe_unused mhi_pci_suspend(struct device *dev) > suspend API is not static but resume is. Any reason for that ? No, going to fix that, thanks.