lkml.org 
[lkml]   [2012]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V1] mfd: tps65910: Add wakeup support
On Fri, Jan 20, 2012 at 06:30:24PM +0530, Laxman Dewangan wrote:

> I did not get how the wakeup enabled in power management infrastructure?
> My understanding is that we need to call the two apis
> device_wakeup_init() and
> enable_irq_wake() for enabling the wakeup functionality.
> Is there any other API which does the same and I need to call from
> the core driver?

No, that's it - when you call those userspace will get control via sysfs
for turning on and off the wakeup support.


\
 
 \ /
  Last update: 2012-01-20 14:05    [W:0.027 / U:2.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site