Patch "usb: dwc3-am62: Disable wakeup at remove" has been added to the 6.7-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    usb: dwc3-am62: Disable wakeup at remove

to the 6.7-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     usb-dwc3-am62-disable-wakeup-at-remove.patch
and it can be found in the queue-6.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit cfb99955bfdd84b69541916a6cf489c4913d5670
Author: Roger Quadros <rogerq@xxxxxxxxxx>
Date:   Tue Feb 27 11:23:49 2024 +0200

    usb: dwc3-am62: Disable wakeup at remove
    
    [ Upstream commit 4ead695e6b3cac06543d7bc7241ab75aee4ea6a6 ]
    
    Disable wakeup at remove.
    Fixes the below warnings on module unload and reload.
    
    > dwc3-am62 f900000.dwc3-usb: couldn't enable device as a wakeup source: -17
    > dwc3-am62 f910000.dwc3-usb: couldn't enable device as a wakeup source: -17
    
    Fixes: 4e3972b589da ("usb: dwc3-am62: Enable as a wakeup source by default")
    Cc: stable@xxxxxxxxxxxxxxx # v6.4+
    Signed-off-by: Roger Quadros <rogerq@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20240227-for-v6-9-am62-usb-errata-3-0-v4-2-0ada8ddb0767@xxxxxxxxxx
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/usb/dwc3/dwc3-am62.c b/drivers/usb/dwc3/dwc3-am62.c
index f85603b7f7c5e..ea6e29091c0c9 100644
--- a/drivers/usb/dwc3/dwc3-am62.c
+++ b/drivers/usb/dwc3/dwc3-am62.c
@@ -274,6 +274,7 @@ static void dwc3_ti_remove(struct platform_device *pdev)
 	u32 reg;
 
 	pm_runtime_get_sync(dev);
+	device_init_wakeup(dev, false);
 	of_platform_depopulate(dev);
 
 	/* Clear mode valid bit */




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux