5 Feb
2015
5 Feb
'15
7:16 p.m.
On Thu, Feb 05, 2015 at 02:07:35AM +0000, Jie, Yang wrote:
Again, please fix your mailer to word wrap within paragraphs - your mails are very difficult to read.
[Keyon] I agree that it may be more reasonable if we can pass jack(similar to rt286_mic_detect(), can use jack=NULL for disable) from this machine driver, then add checking this jack in handler rt286_irq(), don't call rt286_jack_detect() and snd_soc_jack_report() when the jack is NULL. What do you think about this solution?
That sounds fine. You should be able to just call the jack API with NULL jacks, it's set up to handle this since it's such a common case.