lkml.org 
[lkml]   [2011]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Headset driver detection problem during bootup
On Fri, Aug 19, 2011 at 09:23:13PM +0900, anish singh wrote:

> 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.

The standard soc-jack code should already be reading the state of the
GPIO as part of its startup.


\
 
 \ /
  Last update: 2011-08-20 19:43    [W:0.071 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site