8 Jul
2013
8 Jul
'13
3:31 p.m.
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.