From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: "Navada Kanyana, Mukund" <navada@ti.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/1] regmap: Add support for continously numbered pages across regmap range
Date: Wed, 28 Nov 2012 11:56:38 +0000 [thread overview]
Message-ID: <20121128115638.GO32691@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <6817C817C9581447825BFB369EAC42163E959B6C@DBDE01.ent.ti.com>
[-- Attachment #1: Type: text/plain, Size: 878 bytes --]
On Wed, Nov 28, 2012 at 11:52:22AM +0000, Navada Kanyana, Mukund wrote:
> static const struct regmap_range_cfg aic325x_ranges[] = {
> { .name = "CONF", .range_min = 128,
> .range_max = 383,
> .selector_reg = 0x0,
> .selector_mask = 0xff,
> .selector_shift = 0,
> .window_start = 0, .window_len =128,
> },
> { .name = "MINIDSP_A_CM_A", .range_min = AIC325X_ADSP_CM_A_BASE,
> .range_max = AIC325X_ADSP_CM_A_BASE + 1152,
> .selector_reg = 0x0,
> .selector_mask = 0xff,
> .selector_shift = 0,
> .window_start = 0, .window_len =128,
> },
> };
You appear to have two different ranges with the same selector and
window. I'm really not sure why you expect this to work... what
happens when someone reads from the two different ranges simultaneously?
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2012-11-28 11:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-28 9:22 [PATCH 1/1] regmap: Add support for continously numbered pages across regmap range Mukund Navada
2012-11-28 9:29 ` Mark Brown
2012-11-28 10:11 ` Navada Kanyana, Mukund
2012-11-28 11:34 ` Mark Brown
2012-11-28 11:52 ` Navada Kanyana, Mukund
2012-11-28 11:56 ` Mark Brown [this message]
2012-11-28 12:10 ` Navada Kanyana, Mukund
2012-11-28 13:15 ` 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=20121128115638.GO32691@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=navada@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.