Messages in this thread | | | Date | Fri, 19 Aug 2011 21:23:13 +0900 | Subject | Headset driver detection problem during bootup | From | anish singh <> |
| |
I need some suggestions for below situation:
Headset if it is inserted before the device is powered up is now detected by forcefully calling the interrupt handler in the probe function of the headset driver. Once the handler is called then we find out if the headset is there or not using gpio and then normal detection happens
Is it the right way to detect the device during power-up?
After the device is powered up and then if we insert headset then it is working fine by calling the interrupt handler and everything goes fine.
linux -2.3.5 Android Device
| |