mt7612 suspend/resume issue

Lorenzo Bianconi lorenzo.bianconi at redhat.com
Mon Jun 22 10:53:38 EDT 2020


> Hello, Lorenzo.
> 
> On Sun, Jun 21, 2020 at 10:54 PM Lorenzo Bianconi <lorenzo at kernel.org> 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20200622/cf5d6f7e/attachment-0001.sig>


More information about the Linux-mediatek mailing list