[alsa-devel] [PATCH v4 2/7] ASoC: Intel: mrfld - Add DSP load and management

Vinod Koul vinod.koul at intel.com
Mon Oct 20 07:41:49 CEST 2014


On Fri, Oct 17, 2014 at 02:07:43PM +0200, Takashi Iwai wrote:
> At Fri, 17 Oct 2014 14:01:47 +0200,
> Mark Brown wrote:
> > 
> > On Fri, Oct 17, 2014 at 12:04:56PM +0200, Takashi Iwai wrote:
> > > Vinod Koul wrote:
> > 
> > > > I will work on moving memcpy32_toio to core and move users as well :)

And I did prepare RFC for that and had to trash it :(

Turns out we already have an API for this in kernel.

While adding the new header, though it should be io.h, stumbled upon not
much used __iowrite32_copy() which seems to be the API I need.

I am testing it as we speak, will send conversion patch today.

-- 
~Vinod

> > 
> > > We can move them into sound/core/memory.c.  They are pretty small and
> > > useful.
> > 
> > It's not really anything to do with sound though, the other users are
> > MTD devices at the minute.
> 
> Yeah, we can move up again, then :)
> 
> I think it's even not bad to have it as a static inline function.
> 
> 
> Takashi
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

-- 


More information about the Alsa-devel mailing list