Re: [PATCH V1] mfd: tps65910: Add wakeup support

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

 



On Friday 20 January 2012 06:32 PM, Mark Brown wrote:
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.
So should I call them in driver by default without taking parameter from platform data?



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


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux