On Fri, Jan 20, 2012 at 06:30:24PM +0530, Laxman Dewangan wrote:So should I call them in driver by default without taking parameter from platform data?
I did not get how the wakeup enabled in power management infrastructure?No, that's it - when you call those userspace will get control via sysfs
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?
for turning on and off the wakeup support.