[Gta04-owner] [PATCH] gta04-voice: fix gtm601 registration order

Dr. H. Nikolaus Schaller hns at goldelico.com
Tue Sep 6 11:16:50 CEST 2011


Dear all,

Am 06.09.2011 um 09:37 schrieb John Ogness:

> Hi Nokolas,
> 
> On 2011-09-06, Dr. H. Nikolaus Schaller <hns at goldelico.com> wrote:
>> Please can you send me a snapshot of the file? I was not able to
>> find out what the changes are.
> 
> You can see the changes for this file with:
> 
> $ git diff 9f6271d90339ded725d2f3849a158866a72cd88e sound/soc/codecs/gtm601.c
> 
> If you want to revert these changes for this file:
> 
> $ git diff 9f6271d90339ded725d2f3849a158866a72cd88e sound/soc/codecs/gtm601.c | patch -p1 -R
> $ git commit -s sound/soc/codecs/gtm601.c
> 
> It is safest if we stick to git commits rather than just pushing some
> new version in there. But I've attached the gtm601.c file (after
> running the above commands) in case you want to verify that you are
> doing it correctly.

thanks to the support from John, we now have a kernel that 
compiles, boots and shows 4 sound cards on the GTA04:

bb-debian:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: gta04 [gta04], device 0: TWL4030 twl4030-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: gta04voice [gta04-voice], device 0: GTM601 GTM601-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: gta04headset [gta04-headset], device 0: W2CBW003 W2CBW003-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: gta04fm [gta04-fm], device 0: Si47xx Si47xx-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
bb-debian:~#

I will now add the missing pieces and bits so that the McBSP
interface gets the correct clock and format settings.

It appears that the first real phone call (with voice) of a GTA04
board isn't far away  in the future. Dialling through some ATD
is already tested and works.

Nikolaus



More information about the Gta04-owner mailing list