[Gta04-owner] Linux 3.7 for gta04.

Dr. H. Nikolaus Schaller hns at goldelico.com
Wed Dec 12 09:58:23 CET 2012


Am 11.12.2012 um 19:28 schrieb Lukas Märdian:

> Am 11.12.2012 18:56, schrieb Radek Polak:
>> 5/ no audio in calls, maybe some controls have changed:
>> 
>> root at neo:~# alsactl -f /opt/qtmoko/etc/alsa/gsmearpiece.state restore
>> alsactl: set_control:1255: failed to obtain info for control #21 (No such file 
>> or directory)
> 
> I guess this is that patch missing:
> http://git.shr-project.org/git/?p=meta-smartphone.git;a=blob;f=meta-openmoko/recipes-kernel/linux/linux-gta04/om-gta04/hwrouting_add_voice_route.patch;h=2de80d96f431bf10c1c7ba9f5bf5696e71647057;hb=HEAD
> 
> It wasn't in any of Neil's kernels up to now.

Maybe we should also rewrite that code a little and not use

 163 +                       omap_mux_set_gpio(OMAP_MUX_MODE7, 154);

because it assumes that the twl is connected in a specific way.

AFAIK, any OMAP McBSP [DAI] exports a function to High-Z the interface
which is intended by this code line.

It is

int snd_soc_dai_set_tristate(struct snd_soc_dai *dai, int tristate);

defined in linux/sound/soc-dai.h

But I know how to access the relevant DAI interface at this code location...

BR,
Nikolaus




More information about the Gta04-owner mailing list