Re: mt7612 suspend/resume issue

From: Lorenzo Bianconi
Date: Mon Jun 22 2020 - 10:53:51 EST


> Hello, Lorenzo.
>
> On Sun, Jun 21, 2020 at 10:54 PM Lorenzo Bianconi <lorenzo@xxxxxxxxxx> wrote:
> > > > +static int __maybe_unused
> > > > +mt76x2e_suspend(struct pci_dev *pdev, pm_message_t state)
> > > > +{
> > > > + struct mt76_dev *mdev = pci_get_drvdata(pdev);
> > > > + struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76);
> > > > + int i, err;
> >
> > can you please double-check what is the PCI state requested during suspend?
>
> Do you mean ACPI S3 (this is the state the system enters)? If not,
> what should I check and where?

yes, right. Just for debugging, can you please force the card in PCI_D0 during the
suspend?

Regards,
Lorenzo

>
> Thanks.
>
> --
> Best regards,
> Oleksandr Natalenko (post-factum)
> Principal Software Maintenance Engineer
>

Attachment: signature.asc
Description: PGP signature