public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Headset driver detection problem during bootup
@ 2011-08-19 12:23 anish singh
  2011-08-20 13:21 ` anish singh
  2011-08-20 17:40 ` Mark Brown
  0 siblings, 2 replies; 5+ messages in thread
From: anish singh @ 2011-08-19 12:23 UTC (permalink / raw)
  To: linux-kernel-mail, Kernel-newbies; +Cc: broonie, Jonathan Cameron, Dave Hylands

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-23 15:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-19 12:23 Headset driver detection problem during bootup anish singh
2011-08-20 13:21 ` anish singh
2011-08-23 13:52   ` Takashi Iwai
2011-08-23 15:01     ` anish singh
2011-08-20 17:40 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox