ALT Linux Bugzilla
– Attachment 10744 Details for
Bug 42627
Unable to resume from hibernation
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Patch to fix resume afte suspend for mt7921
0001-Patch-to-fix-suspend-resume-bug-for-mt7921.patch (text/plain), 1.66 KB, created by
Iakunin Andrei
on 2022-05-13 18:26:34 MSK
(
hide
)
Description:
Patch to fix resume afte suspend for mt7921
Filename:
MIME Type:
Creator:
Iakunin Andrei
Created:
2022-05-13 18:26:34 MSK
Size:
1.66 KB
patch
obsolete
>From 07cac44a9c4d7d25bb1de549d761113c50e12e62 Mon Sep 17 00:00:00 2001 >From: Andrei Iakunin <iakuninaa@basealt.ru> >Date: Fri, 13 May 2022 17:24:29 +0300 >Subject: [PATCH] Patch to fix suspend/resume bug for mt7921. > >Works for kernel 5.15 -- 5.17. In 5.18 files structure going to change. >Similar was proposed for 5.18 by Sean Wang <sean.wang@mediatek.com> >Link: https://patchwork.kernel.org/project/linux-mediatek/patch/a8cd712777d9f6b5c23e65225c37c3360593de3e.1649976504.git.objelf@gmail.com/ >Bug: https://bugzilla.altlinux.org/42627 > >Signed-off-by: Andrei Iakunin <iakuninaa@basealt.ru> >--- > drivers/net/wireless/mediatek/mt76/mt7921/init.c | 2 +- > drivers/net/wireless/mediatek/mt76/mt7921/pci.c | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/init.c b/drivers/net/wireless/mediatek/mt76/mt7921/init.c >index 78a00028137bd..d8fb7843ed7bf 100644 >--- a/drivers/net/wireless/mediatek/mt76/mt7921/init.c >+++ b/drivers/net/wireless/mediatek/mt76/mt7921/init.c >@@ -266,5 +266,5 @@ void mt7921_unregister_device(struct mt7921_dev *dev) > mt7921_mcu_exit(dev); > > tasklet_disable(&dev->irq_tasklet); >- mt76_free_device(&dev->mt76); >+ > } >diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/pci.c b/drivers/net/wireless/mediatek/mt76/mt7921/pci.c >index c3905bcab3604..69453a5224cee 100644 >--- a/drivers/net/wireless/mediatek/mt76/mt7921/pci.c >+++ b/drivers/net/wireless/mediatek/mt76/mt7921/pci.c >@@ -182,6 +182,7 @@ static void mt7921_pci_remove(struct pci_dev *pdev) > mt7921_unregister_device(dev); > devm_free_irq(&pdev->dev, pdev->irq, dev); > pci_free_irq_vectors(pdev); >+ mt76_free_device(&dev->mt76); > } > > #ifdef CONFIG_PM >-- >2.33.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42627
:
10680
|
10681
|
10682
| 10744