Re: [android-kernel] How can my device driver knows when the system is rebooting or shut down

2012-05-22 Thread mark gross
There is a reboot notifier you can register your own call back to get called on reboot. register_reboot_notifier is your friend. grep for where its used for examples on how to do it. --mark On Tue, May 22, 2012 at 6:14 PM, Satya vara prasad wrote: > Hi all,register_reboot_notifier > I have an

[android-kernel] How can my device driver knows when the system is rebooting or shut down

2012-05-22 Thread Satya vara prasad
Hi all, I have an small scenario like when the system is rebooting or shutting down,How my device driver will get the notification. Based on that i should glow particular led for an indication. Thanks&Regards prasad -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://gro