From: Mark Brown <broonie@kernel.org>
To: Kevin Cernekee <cernekee@chromium.org>
Cc: lgirdwood@gmail.com, lars@metafoo.de, dgreid@chromium.org,
abrestic@chromium.org, olofj@chromium.org,
alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH V2 3/4] ASoC: tas571x: New driver for TI TAS571x power amplifiers
Date: Sat, 25 Apr 2015 12:35:09 +0100 [thread overview]
Message-ID: <20150425113509.GB31708@sirena.org.uk> (raw)
In-Reply-To: <1429915008-22015-4-git-send-email-cernekee@chromium.org>
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
On Fri, Apr 24, 2015 at 03:36:47PM -0700, Kevin Cernekee wrote:
> + gpiod_set_value(priv->pdn_gpio, 0);
> + usleep_range(5000, 6000);
> +
> + regcache_cache_only(priv->regmap, false);
> + ret = regcache_sync_region(priv->regmap, 0,
> + priv->chip->regmap_config->max_register, false);
> + if (ret)
> + return ret;
This is also a problem with your first patch BTW - even if we are going
to add an argument we shouldn't be having drivers do _sync_region() to
sync the entire register map, that's just ugly.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2015-04-25 11:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-24 22:36 [PATCH V2 0/4] tas571x amplifier driver Kevin Cernekee
2015-04-24 22:36 ` [PATCH V2 1/4] regmap: cache: Add "was_reset" argument to regcache_sync_region() Kevin Cernekee
2015-04-25 2:44 ` Kevin Cernekee
2015-04-25 11:27 ` Lars-Peter Clausen
2015-04-25 11:32 ` Mark Brown
2015-04-29 4:58 ` Kevin Cernekee
2015-04-29 10:40 ` Mark Brown
2015-04-29 14:13 ` Kevin Cernekee
2015-04-29 16:46 ` Mark Brown
2015-04-29 17:02 ` Kevin Cernekee
2015-04-29 17:34 ` Mark Brown
2015-04-24 22:36 ` [PATCH V2 2/4] ASoC: tas571x: Add DT binding document Kevin Cernekee
2015-04-24 22:36 ` [PATCH V2 3/4] ASoC: tas571x: New driver for TI TAS571x power amplifiers Kevin Cernekee
2015-04-25 11:35 ` Mark Brown [this message]
2015-04-24 22:36 ` [PATCH V2 4/4] MAINTAINERS: Add entry for tas571x ASoC codec driver Kevin Cernekee
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=20150425113509.GB31708@sirena.org.uk \
--to=broonie@kernel.org \
--cc=abrestic@chromium.org \
--cc=alsa-devel@alsa-project.org \
--cc=cernekee@chromium.org \
--cc=devicetree@vger.kernel.org \
--cc=dgreid@chromium.org \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=olofj@chromium.org \
/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
all inboxes | Powered by JetHome®