[Gta04-owner] Jack bouncing: bugfix.

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Tue Dec 25 11:28:08 CET 2012


Hi,

Here:
http://git.neil.brown.name/git?p=gta04.git;a=blob;f=sound/soc/omap/gta04-audio.c;h=804bce9745eeddba5b0d1f238ea46d2b4b197fd1;hb=refs/heads/3.5-gta04#l176
The value of twl4030_get_madc_conversion(7) could be negative(in case
of errors, which do happen), which would made the driver report that
there is no jack plugged in, instead of not reporting anything.

I've already fixed it in my GTA04 3.4 SHR tree.

The jack detection still bounce during the beginning of calls with that
fix, but it may bounce less.

Denis.


More information about the Gta04-owner mailing list