From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: anish singh <anish198519851985@gmail.com>
Cc: linux-kernel-mail <linux-kernel@vger.kernel.org>,
Kernel-newbies <kernelnewbies@nl.linux.org>,
Jonathan Cameron <jic23@cam.ac.uk>,
Dave Hylands <dhylands@gmail.com>
Subject: Re: Headset driver detection problem during bootup
Date: Sat, 20 Aug 2011 18:40:18 +0100 [thread overview]
Message-ID: <20110820174017.GA28142@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <CAK7N6vrj8V+7EYLmd92qd+Mae2KZu8K6BVwnwda=3y2vrcDWRw@mail.gmail.com>
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.
prev parent reply other threads:[~2011-08-20 17:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110820174017.GA28142@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=anish198519851985@gmail.com \
--cc=dhylands@gmail.com \
--cc=jic23@cam.ac.uk \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox