All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: alsa-devel@alsa-project.org, Liam Girdwood <lrg@ti.com>
Subject: Re: [PATCH] ASoC: soc-io: Only force use regmap if the codec have it implemented
Date: Wed, 1 Aug 2012 14:24:20 +0100	[thread overview]
Message-ID: <20120801132419.GT11892@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <50192A8A.3080204@ti.com>

On Wed, Aug 01, 2012 at 04:09:30PM +0300, Peter Ujfalusi wrote:
> On 08/01/2012 03:40 PM, Mark Brown wrote:

> > You're changing the function setting up register I/O to ignore what's
> > being set.  This is silly - the soc-io code is doing exactly the right
> > thing here.

> Well, it overrides the codec->read/write/bulk_write_raw callbacks, sets the
> codec->using_regmap to true regardless if the codec have regmap or not.
> It should only do all of these if the regmap is there IMHO.

That's exactly what it's being asked to do!

> The soc-core calls snd_soc_codec_set_cache_io() if codec->control_data is NULL
> at the moment.

Right, so perhaps that's the decision which needs revisiting?

      reply	other threads:[~2012-08-01 13:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01 12:01 [PATCH] ASoC: soc-io: Only force use regmap if the codec have it implemented Peter Ujfalusi
2012-08-01 12:16 ` Mark Brown
2012-08-01 12:20   ` Peter Ujfalusi
2012-08-01 12:40     ` Mark Brown
2012-08-01 13:09       ` Peter Ujfalusi
2012-08-01 13:24         ` Mark Brown [this message]

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=20120801132419.GT11892@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=lrg@ti.com \
    --cc=peter.ujfalusi@ti.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.