Hello Michael, What is this patch suppose to achieve which is not already done in current android kernel?
AFAIK this patch is a workaround when headset is not detected if you insert during suspend as the system is in sleep state and also if the headset event is not registered as wake up source. So basically when we wake up the pm will call resume and there you are scheduling your work to find out if the headset state is changed or not(this is what is achieved by this patch)? Is the above functionality not working with android kernel?Or is it a bug for which you have this patch?? On Aug 26, 1:53 am, Michael Trimarchi <[email protected]> wrote: > Hi > > I'm using this patch in android. It is not for submission of course > > > > Mark Brown wrote: > > On Thu, Mar 19, 2009 at 05:50:35PM -0600, Misael Lopez wrote: > > >> 2009/3/19 Greg KH <[email protected]>: > > >>> Also, why a special class? ?Why not use the input layer for stuff like > >>> this? > > >> In the particular case of headset detection, I originally considered > >> using ALSA Jack mechanism (and Soc Jack wrapper), which uses input > >> layer. You probably know about that already. > > > What made you decide not to use either the generic ALSA stuff or ASoC? > > If there's something preventing you using them then it'd be good to fix > > it. > > Yes this is the right thing todo, I don't see all the code but what > happen if the headset is removed > during suspend? Where the worker is forced to be rescheduled in soc-jack? > > Michael > > > --~--~---------~--~----~------------~-------~--~----~ > > unsubscribe: [email protected] > > website:http://groups.google.com/group/android-kernel > > -~----------~----~----~----~------~----~------~--~--- > > > > switch_gpio.patch > 2KViewDownload -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
