lkml.org 
[lkml]   [2012]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-11-28 13:21    [W:0.045 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site