Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Kevin Hilman <khilman@mvista.com>
Cc: Vova Barinov <vova.barinov@gmail.com>,
	Felix Radensky <felix@embedded-sol.com>,
	alsa-devel@alsa-project.org
Subject: Re: Problems compiling Davinci ASoC driver	in	2.6.26-rc6
Date: Wed, 25 Jun 2008 11:26:26 +0200	[thread overview]
Message-ID: <s5hskv1oofx.wl%tiwai@suse.de> (raw)
In-Reply-To: <87mylct88g.fsf@paris.hilman.org>

At Mon, 23 Jun 2008 09:40:47 -0700,
Kevin Hilman wrote:
> 
> Yes, unfortunately the DaVinci ASoC changes were done based on DMA
> work that is not yet available in DaVinci git or mainline.
> 
> A month or so back, I posted to the davinci list saying I have a
> branch available where folks can play with ASoC until I get the DMA
> merge sorted out.  That branch is here[1], but has not been updated to
> the latest asoc-dev tree.

Could you try to make it merged at least in the next kernel release?


thanks,

Takashi

> 
> Kevin
> 
> 
> [1] http://linux.omap.com/pipermail/davinci-linux-open-source/2008-April/006008.html
> 
> Felix Radensky <felix@embedded-sol.com> writes:
> 
> > Hi,  Vova
> >
> > I've tried Davinci git tree and had the same compilation errors as
> > with upstream 2.6.26-rc6.
> >
> > Felix.
> >
> > Vova Barinov wrote:
> >> Hi Freix,
> >>
> >> I see that you use upstream kernel but you should use now davinci
> >> git tree that at 2.6.26-rc5.
> >> I'm not familiar with it's current status. Kevin Hilman is a
> >> maintainer and possible that he can answer about ASoC support there
> >> and about Davinci upstream status too.
> >> FYI: I can't see that Davinci DMA used in Davinci PCM is not in git
> >> tree. Not sure but possible that Kevin adapted ASoC for git DMA
> >> stuff.
> >> You can try the attached required patch that was sent to arm-linux
> >> mailing list some time ago and patch for i2c hack that is needed for
> >> Davinici but is not acceptable upstream.
> >>
> >> Also I'm no more with MV. So have nothing access to h/w.
> >>
> >> Vladimir
> >>
> >> Liam Girdwood wrote:
> >>> On Fri, 2008-06-20 at 09:34 +0300, Felix Radensky wrote:
> >>>  
> >>>> Hi,
> >>>>
> >>>> I wanted to test Davinci ASoC driver on Davinci EVM evaluation
> >>>> board, but encountered the following compilation errors:
> >>>>
> >>>>  CC      sound/soc/codecs/tlv320aic3x.o
> >>>> sound/soc/codecs/tlv320aic3x.c:1012: warning: 'aic3x_init' defined
> >>>> but not used
> >>>>   LD      sound/soc/codecs/snd-soc-tlv320aic3x.o
> >>>>   LD      sound/soc/codecs/built-in.o
> >>>>   CC      sound/soc/davinci/davinci-i2s.o
> >>>> sound/soc/davinci/davinci-i2s.c:402: warning: initialization from
> >>>> incompatible pointer type
> >>>>   CC      sound/soc/davinci/davinci-pcm.o
> >>>> sound/soc/davinci/davinci-pcm.c: In function `davinci_pcm_enqueue_dma':
> >>>> sound/soc/davinci/davinci-pcm.c:99: error: implicit declaration of
> >>>> function `davinci_set_dma_src_params'
> >>>> sound/soc/davinci/davinci-pcm.c:99: error: `INCR' undeclared
> >>>> (first use in this function)
> >>>> sound/soc/davinci/davinci-pcm.c:99: error: (Each undeclared
> >>>> identifier is reported only once
> >>>> sound/soc/davinci/davinci-pcm.c:99: error: for each function it
> >>>> appears in.)
> >>>> sound/soc/davinci/davinci-pcm.c:99: error: `W8BIT' undeclared
> >>>> (first use in this function)
> >>>> sound/soc/davinci/davinci-pcm.c:100: error: implicit declaration
> >>>> of function `davinci_set_dma_dest_params'
> >>>> sound/soc/davinci/davinci-pcm.c:101: error: implicit declaration
> >>>> of function `davinci_set_dma_src_index'
> >>>> sound/soc/davinci/davinci-pcm.c:102: error: implicit declaration
> >>>> of function `davinci_set_dma_dest_index'
> >>>> sound/soc/davinci/davinci-pcm.c:103: error: implicit declaration
> >>>> of function `davinci_set_dma_transfer_params'
> >>>> sound/soc/davinci/davinci-pcm.c:103: error: `ASYNC' undeclared
> >>>> (first use in this function)
> >>>> sound/soc/davinci/davinci-pcm.c: In function `davinci_pcm_dma_irq':
> >>>> sound/soc/davinci/davinci-pcm.c:117: error: `DMA_COMPLETE'
> >>>> undeclared (first use in this function)
> >>>> sound/soc/davinci/davinci-pcm.c: In function `davinci_pcm_dma_request':
> >>>> sound/soc/davinci/davinci-pcm.c:134: error: `TCC_ANY' undeclared
> >>>> (first use in this function)
> >>>> sound/soc/davinci/davinci-pcm.c:143: error: implicit declaration
> >>>> of function `davinci_request_dma'
> >>>> sound/soc/davinci/davinci-pcm.c:145: error: `EVENTQ_0' undeclared
> >>>> (first use in this function)
> >>>> sound/soc/davinci/davinci-pcm.c:150: error: `PARAM_ANY' undeclared
> >>>> (first use in this function)
> >>>> sound/soc/davinci/davinci-pcm.c:153: error: implicit declaration
> >>>> of function `davinci_free_dma'
> >>>> sound/soc/davinci/davinci-pcm.c:158: error: implicit declaration
> >>>> of function `davinci_dma_link_lch'
> >>>> sound/soc/davinci/davinci-pcm.c: In function `davinci_pcm_trigger':
> >>>> sound/soc/davinci/davinci-pcm.c:174: error: implicit declaration
> >>>> of function `davinci_start_dma'
> >>>> sound/soc/davinci/davinci-pcm.c:179: error: implicit declaration
> >>>> of function `davinci_stop_dma'
> >>>> sound/soc/davinci/davinci-pcm.c: In function `davinci_pcm_prepare':
> >>>> sound/soc/davinci/davinci-pcm.c:194: error: storage size of 'temp'
> >>>> isn't known
> >>>> sound/soc/davinci/davinci-pcm.c:200: error: implicit declaration
> >>>> of function `davinci_get_dma_params'
> >>>> sound/soc/davinci/davinci-pcm.c:201: error: implicit declaration
> >>>> of function `davinci_set_dma_params'
> >>>> sound/soc/davinci/davinci-pcm.c:194: warning: unused variable `temp'
> >>>> sound/soc/davinci/davinci-pcm.c: In function `davinci_pcm_pointer':
> >>>> sound/soc/davinci/davinci-pcm.c:217: error: implicit declaration
> >>>> of function `davinci_dma_getposition'
> >>>> sound/soc/davinci/davinci-pcm.c: In function `davinci_pcm_close':
> >>>> sound/soc/davinci/davinci-pcm.c:262: error: implicit declaration
> >>>> of function `davinci_dma_unlink_lch'
> >>>> make[3]: *** [sound/soc/davinci/davinci-pcm.o] Error 1
> >>>> make[2]: *** [sound/soc/davinci] Error 2
> >>>> make[1]: *** [sound/soc] Error 2
> >>>> make: *** [sound] Error 2
> >>>>
> >>>> Are there plans to fix this before release of 2.6.26 ?
> >>>>     
> >>>
> >>> It looks like we are missing some DaVinci DMA definitions for audio.
> >>> They are not anywhere in the current HEAD or in
> >>> include/asm-arm/arch-davinci history.
> >>>
> >>> Vladimir, is this something you could help with.
> >>>
> >>> Thanks
> >>>
> >>> Liam
> >>>
> >>>   
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 

      reply	other threads:[~2008-06-25  9:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-20  6:34 Problems compiling Davinci ASoC driver in 2.6.26-rc6 Felix Radensky
2008-06-20  9:54 ` Liam Girdwood
2008-06-20 11:47   ` Vova Barinov
2008-06-20 20:24     ` Felix Radensky
2008-06-23 16:40       ` Kevin Hilman
2008-06-25  9:26         ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hskv1oofx.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=felix@embedded-sol.com \
    --cc=khilman@mvista.com \
    --cc=vova.barinov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox