[alsa-devel] [PATCH] ASoC: rt5640: add headset detection function
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...
Size: 836 bytes
Desc: Digital signature
More information about the Alsa-devel