Re: USB remote wakeup through gpio interrupt

From: Jagdish Gedia
Date: Thu Mar 06 2014 - 00:57:16 EST


Hi Peter,

Thanks for your reply.

I can use pm_runtime_get in interrupt handler, but i am not getting
your idea of using pm_runtime_put in interrupt handler?

My device is usb telephony modem, which will give interrupt through
gpio when call comes. so at that time i want to wakeup the usb
functionality as remote wakeup is not working properly.

will pm_runtime_put suspend the device immidiately or it will not
suspend the device till it is in use?


thanks,
jagdish gediya
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/