/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/property.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-10-22 15:08:11 UTC
  • Revision ID: csa@suren.me-20151022150811-1l4cqcygra1phx0k
Fix access to the property-based registers

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
            return err;
35
35
        }
36
36
    }
37
 
    
38
 
    access = ctx->banks[bank].access;
39
 
    
 
37
 
 
38
    access = ctx->banks[bank].access / 8;
 
39
 
40
40
    for (i = 0; i < n; i++) {
41
41
        if ((v[i]->flags&PCILIB_VIEW_FLAG_REGISTER) == 0) continue;
42
42