lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 6 Mar 2014 10:44:52 -0500 (EST) From: Alan Stern <stern@...land.harvard.edu> To: Jagdish Gedia <jvgediya@...il.com> cc: Peter Chen <Peter.Chen@...escale.com>, "linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org> Subject: Re: USB remote wakeup through gpio interrupt On Thu, 6 Mar 2014, Jagdish Gedia wrote: > Hi Alan, > > As you have told, i have executed pm_request_resume() function from my > interrupt handler, and it is waking up my USB device. I have > implemented all this functionality in class driver(cdc-acm.c). > but what is happening is after 2-3 times, ausosuspend is getting > disable for my device. I want autosuspend to be enabled for usb device > forever. Do pm_request_resume function causes this behavior? No. The various versions of pm_runtime_get will cause it, though, if they aren't balanced by some form of pm_runtime_put. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists