[alsa-devel] [PATCH] ASoC: soc-compress: Add support for not memory mapped DSPs
Vinod Koul
vinod.koul at intel.com
Mon Jan 28 10:34:49 CET 2013
On Mon, Jan 28, 2013 at 02:44:42PM +0800, Mark Brown wrote:
> > > We'd need to take a copy of it in case we have a system with a mix of
> > > both styles.
Yes that would be the right thing to do..
> > For the same device?
>
> No, not for the same device - just in the system. compr->ops has been
> set to point to soc_compr_ops which is a static shared by all drivers in
> the system (unless I've misread what you wrote above).
No you read it right. We need to change a little and yes take a copy of it.
That way you can modify the copy locally for your device rather that updating
the system while avoiding two defines :)
--
~Vinod
More information about the Alsa-devel
mailing list