From: Mark Brown <broonie@kernel.org>
To: Nariman Poushin <nariman@opensource.wolfsonmicro.com>
Cc: gregkh@linuxfoundation.org, airlied@linux.ie,
dmitry.torokhov@gmail.com, sameo@linux.intel.com,
lee.jones@linaro.org, tony@atomide.com, lgirdwood@gmail.com,
brian.austin@cirrus.com, Paul.Handrigan@cirrus.com,
support.opensource@diasemi.com, bardliao@realtek.com,
oder_chiou@realtek.com,
laurent.pinchart+renesas@ideasonboard.com, lars@metafoo.de,
dmurphy@ti.com, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org,
patches@opensource.wolfsonmicro.com, linux-omap@vger.kernel.org,
alsa-devel@alsa-project.org, peter.ujfalusi@ti.com
Subject: Re: [PATCH 1/2] V4 regmap: Use reg_sequence for multi_reg_write / register_patch
Date: Thu, 16 Jul 2015 13:52:54 +0100 [thread overview]
Message-ID: <20150716125254.GE4039@sirena.org.uk> (raw)
In-Reply-To: <1436885152-19850-1-git-send-email-nariman@opensource.wolfsonmicro.com>
[-- Attachment #1: Type: text/plain, Size: 1362 bytes --]
On Tue, Jul 14, 2015 at 03:45:51PM +0100, Nariman Poushin wrote:
Please submit patches in the format covered in SubmittingPatches,
version information goes inside the [].
> Add support for writing sequences of registers / patches with specified
> delays (in microseconds). Logically separates the functionality using
> sequences of register writes from the functions that take register
> defaults, as adding a delay field on the reg_defaults can increase
> memory usage substantially.
This change doesn't do what the above changelog says. It introduces a
new struct reg_sequence and updates the multi write and patch APIs to
use that but it doesn't implement any delay functionality. Please
resend with a clearer changelog that describes why the struct is being
split out from the reg_defaults struct and makes it clear that this is
just a rename. It's probably best to also defer the addition of the
delay field until the second patch where this function is actually
implemented.
> +/**
> + * Register / Value pairs for sequences of writes, incorporating an optional
Register/value.
> + * delay in microseconds.
> + *
> + * @reg: Register address.
> + * @def: Register default value.
> + * @delay_us: Delay in microseconds
> + */
> +
> +struct reg_sequence {
No blank line between the kerneldoc and the struct (as is the style for
other kernel code).
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2015-07-16 12:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-14 14:45 [PATCH 1/2] V4 regmap: Use reg_sequence for multi_reg_write / register_patch Nariman Poushin
2015-07-14 14:45 ` [PATCH 2/2] V4 regmap: Apply optional delay in multi_reg_write/register_patch Nariman Poushin
2015-07-16 13:12 ` [alsa-devel] " Takashi Iwai
2015-07-16 12:52 ` Mark Brown [this message]
2015-07-16 15:45 ` [alsa-devel] [PATCH 1/2] V4 regmap: Use reg_sequence for multi_reg_write / register_patch Nariman Poushin
2015-07-16 20:48 ` 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=20150716125254.GE4039@sirena.org.uk \
--to=broonie@kernel.org \
--cc=Paul.Handrigan@cirrus.com \
--cc=airlied@linux.ie \
--cc=alsa-devel@alsa-project.org \
--cc=bardliao@realtek.com \
--cc=brian.austin@cirrus.com \
--cc=dmitry.torokhov@gmail.com \
--cc=dmurphy@ti.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=gregkh@linuxfoundation.org \
--cc=lars@metafoo.de \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=lee.jones@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=nariman@opensource.wolfsonmicro.com \
--cc=oder_chiou@realtek.com \
--cc=patches@opensource.wolfsonmicro.com \
--cc=peter.ujfalusi@ti.com \
--cc=sameo@linux.intel.com \
--cc=support.opensource@diasemi.com \
--cc=tony@atomide.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