28 Sep
2011
28 Sep
'11
7:17 p.m.
On Wed, Sep 28, 2011 at 09:27:31AM -0700, Patrick Lai wrote:
Agree that should go through consistent interface but not exactly sure if going through input device interface is appropriate though. Isn't the same reasoning why it has been decided to create ALSA specific API for headset detection?
That's why I said use the jack API not the input API, if you're open coding an input interface for jacks in ALSA you're doing something wrong. Just use the jack API and let it worry about how to tell the rest of the system about what's going on - a driver shouldn't have to worry about the details.