alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Liam Girdwood <lrg@slimlogic.co.uk>
To: Daniel Mack <daniel@caiaq.de>
Cc: alsa-devel@alsa-project.org,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Sven Neumann <s.neumann@raumfeld.com>
Subject: Re: Memory corruption in ASoC
Date: Thu, 18 Mar 2010 17:35:37 +0000	[thread overview]
Message-ID: <1268933737.3773.36.camel@odin> (raw)
In-Reply-To: <20100318170745.GC6142@rakim.wolfsonmicro.main>

On Thu, 2010-03-18 at 17:07 +0000, Mark Brown wrote:
> On Thu, Mar 18, 2010 at 05:48:53PM +0100, Daniel Mack wrote:
> > On Thu, Mar 18, 2010 at 04:43:06PM +0000, Mark Brown wrote:
> 
> > > It should really be per-substream, yes.
> 
> > Do you want me to fix this or are you working on this already?
> 
> I'm all in favour of approaches that involve me doing less work :)
> Though watch out for a mail from Liam shortly...
> 

Please do.

Fwiw we do have some unnecessary complexity in our hw_params() and
hw_free() calls in order to support OSS emulation. i.e. hw_params() can
be called several times for each substream by OSS emulation with
different audio parameters each time (hence the need to always free and
re-config resources). This is not needed for native alsa.

Mark and I have just agreed we will accept patches that remove this sort
of complexity and hence OSS emulation support. OSS is being dropped by
distro's anyway now and we haven't been testing OSS emu on new ASoC
drivers for a while either.....  

So don't feel obliged to support OSS emulation in your fix.

> > I know there are some pxa-ssp related things pending which will also
> > cause merge conflicts - which tree should thing apply to currently?
> 


The major work Mark mentioned is the multi-codec + multi-platform (Audio
Engine) support. Mark and I are just finalising the API changes and
there is some a development branch here :-

http://git.kernel.org/?p=linux/kernel/git/lrg/asoc-2.6.git;a=shortlog;h=refs/heads/topic/multi-codec

The API move things closer the the driver model and are being aimed at
2.6.35.

Liam

-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

  reply	other threads:[~2010-03-18 17:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-18 16:17 Memory corruption in ASoC Daniel Mack
2010-03-18 16:43 ` Mark Brown
2010-03-18 16:48   ` Daniel Mack
2010-03-18 17:07     ` Mark Brown
2010-03-18 17:35       ` Liam Girdwood [this message]
2010-03-18 18:08         ` [PATCH] ALSA: ASoC: move dma_data from snd_soc_dai to snd_soc_pcm_stream Daniel Mack
2010-03-18 18:11           ` Daniel Mack
2010-03-18 18:22           ` Mark Brown
2010-03-18 18:28             ` Daniel Mack
2010-03-18 19:23             ` Daniel Mack
2010-03-19  6:56               ` Peter Ujfalusi
2010-03-19  7:08                 ` Daniel Mack
2010-03-19 15:14                   ` Mark Brown
2010-03-19 18:39                     ` Daniel Mack
2010-03-19 19:54                       ` Mark Brown
2010-03-20 14:54                         ` Daniel Mack
2010-03-20 15:30                           ` Mark Brown
2010-03-20 15:39                             ` Daniel Mack
2010-03-20 16:14                               ` Mark Brown
2010-03-22  9:10                                 ` Daniel Mack
2010-03-22  9:11                                 ` Daniel Mack
2010-04-01 17:18                                 ` Daniel Mack
2010-03-20 15:43                             ` Daniel Mack
2010-03-19  9:14                 ` Jarkko Nikula
2010-03-19  8:50               ` Liam Girdwood

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=1268933737.3773.36.camel@odin \
    --to=lrg@slimlogic.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=daniel@caiaq.de \
    --cc=s.neumann@raumfeld.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;
as well as URLs for NNTP newsgroup(s).