[alsa-devel] [PATCH] ASoC: rt5640: add headset detection function

Mark Brown broonie at kernel.org
Thu Jul 25 11:15:47 CEST 2013

On Thu, Jul 25, 2013 at 11:36:42AM +0800, Bard Liao wrote:

> Usually, our customers use cpu's gpio as the interrupt pin of jack insert/remove.
> So we assume they will handle the interrupt event in machine driver.
> When machine driver get a jack insert/remove event, it will call this function to know the jack type(headset or headphone).
> Should I handle the interrupt event in codec driver?

Yes, of course.  Interrupts are just interrupts on Linux.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130725/ab8a7d97/attachment.sig>

More information about the Alsa-devel mailing list