From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Vinod Koul <vinod.koul@intel.com>
Cc: alsa-devel@alsa-project.org, tiwai@suse.de,
patches@opensource.wolfsonmicro.com, liam.r.girdwood@intel.com,
Charles Keepax <ckeepax@opensource.wolfsonmicro.com>,
vinod.koul@linux.jf.intel.com
Subject: Re: [PATCH] ASoC: soc-compress: Add support for not memory mapped DSPs
Date: Mon, 28 Jan 2013 14:44:42 +0800 [thread overview]
Message-ID: <20130128064440.GB5683@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <20130128060914.GM26562@intel.com>
[-- Attachment #1.1: Type: text/plain, Size: 728 bytes --]
On Sun, Jan 27, 2013 at 10:09:14PM -0800, Vinod Koul wrote:
> On Mon, Jan 28, 2013 at 12:56:13PM +0800, Mark Brown 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?
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).
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2013-01-28 6:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-25 9:00 [PATCH] ASoC: soc-compress: Add support for not memory mapped DSPs Charles Keepax
2013-01-28 4:04 ` Vinod Koul
2013-01-28 4:56 ` Mark Brown
2013-01-28 6:09 ` Vinod Koul
2013-01-28 6:44 ` Mark Brown [this message]
2013-01-28 9:34 ` Vinod Koul
2013-01-28 10:49 ` Charles Keepax
2013-01-29 18:51 ` [PATCH v2] " Charles Keepax
2013-01-31 3:02 ` Vinod Koul
2013-02-05 10:41 ` [PATCH v3] " Charles Keepax
2013-02-05 11:54 ` Vinod Koul
2013-02-05 13:56 ` Mark Brown
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=20130128064440.GB5683@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=ckeepax@opensource.wolfsonmicro.com \
--cc=liam.r.girdwood@intel.com \
--cc=patches@opensource.wolfsonmicro.com \
--cc=tiwai@suse.de \
--cc=vinod.koul@intel.com \
--cc=vinod.koul@linux.jf.intel.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).