[rft]suspend/resume for moto_modem

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

 



Hi,

is it really so hard to add generic suspend/resume methods, or if
they don't work report that?
Please test.

	Regards
		Oliver

--

commit 706a28135ef1df678058defef88f112b70ba1385
Author: Oliver Neukum <oliver@xxxxxxxxxx>
Date:   Wed Oct 7 16:27:38 2009 +0200

    usb:usbserial:moto_modem: support for suspend/resume
    
    use the generic methods

diff --git a/drivers/usb/serial/moto_modem.c b/drivers/usb/serial/moto_modem.c
index 99bd00f..126c2e7 100644
--- a/drivers/usb/serial/moto_modem.c
+++ b/drivers/usb/serial/moto_modem.c
@@ -34,6 +34,8 @@ static struct usb_driver moto_driver = {
 	.name =		"moto-modem",
 	.probe =	usb_serial_probe,
 	.disconnect =	usb_serial_disconnect,
+	.suspend =	usb_serial_suspend,
+	.resume =	usb_serial_resume,
 	.id_table =	id_table,
 	.no_dynamic_id = 	1,
 };

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux