On Sat, Apr 19, 2008 at 06:24:18PM +0200, Daniel Mack wrote:
On Sat, Apr 19, 2008 at 03:50:06PM +0100, Mark Brown wrote:
In the case of jack detect I'm actually currently working on a generalisation of that since it's such a common feature. I hope to have something in the next week or two but it depends on my other work.
I attached a patch for a proprietary interface - is that what you were talking about? Would that approach be mergeable with your generic jack detect code?
Yes, that was the sort of thing I was thinking about - looks good from an API perspective, though I've not looked at the code properly yet. It should fit in with the jack detect code, the idea is more to let drivers push notifications of jack detect status - it doesn't really care how the driver detects the jack status.