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

Mark Brown broonie at kernel.org
Mon Jul 8 15:31:12 CEST 2013

On Mon, Jul 08, 2013 at 09:12:06PM +0800, Bard Liao wrote:

> > > Add headset detection function to rt5640 codec driver.

> > No, use the standard soc-jack framework for reporting accessories.

> Do you mean call snd_soc_jack_report in rt5640_headset_detect to report the jack type?

Yes, with an appropriate way of setting up the jack.  Look at how other
drivers do this.
-------------- 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/20130708/90b33a8c/attachment.sig>

More information about the Alsa-devel mailing list