[alsa-devel] [PATCH] ASoC: soc-compress: Add support for not memory mapped DSPs
vinod.koul at intel.com
Mon Jan 28 07:09:14 CET 2013
On Mon, Jan 28, 2013 at 12:56:13PM +0800, Mark Brown wrote:
> On Sun, Jan 27, 2013 at 08:04:16PM -0800, Vinod Koul wrote:
> > How about:
> > compr->ops = &soc_compr_ops;
> > if (platform->driver->compr_ops && !platform->driver->compr_ops->copy)
> > compr->ops->copy = NULL;
> > That way you set it to null for those who doent implement this and would called
> > for drivers who implement this.
> We'd need to take a copy of it in case we have a system with a mix of
> both styles.
For the same device?
Shouldnt you have two different device nodes and then use copy method on one
which supports and memory-mapped for the one which doesn't?
More information about the Alsa-devel