[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121128115638.GO32691@opensource.wolfsonmicro.com>
Date: Wed, 28 Nov 2012 11:56:38 +0000
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: "Navada Kanyana, Mukund" <navada@...com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/1] regmap: Add support for continously numbered pages
across regmap range
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?
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists