[PATCH] mach-gta02: add GTA02_GPIO_JACK_INSERT to the gpio_keys

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Jul 1 15:06:32 CEST 2010


On Thu, Jul 01, 2010 at 02:59:50PM +0200, Klaus 'mrmoku' Kurzmann wrote:
> Am Donnerstag, 1. Juli 2010, 14:28:52 schrieb Mark Brown:

> > This should probably be being done by the audio driver using the ASoC
> > jack detection framework.
> 
> yeah thanks. Somebody else pointed that out too... and it turned out that there 
> already was a patch for that - which did not find it's way in the openmoko 
> kernel repository yet.
> 
> I took that patch and adjusted it to apply to 2.6.32... 
> Does the following look better? :-)

Yes.  Please do try to remember to contribute stuff to mainline, though.
The audio driver is already in mainline and the idea was to reduce
rather than increase the diff.



More information about the openmoko-kernel mailing list