Rev 1179 | Rev 1321 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1179 | Rev 1313 | ||
---|---|---|---|
Line 105... | Line 105... | ||
105 | case ATOM_IIO_READ: |
105 | case ATOM_IIO_READ: |
106 | temp = ctx->card->reg_read(ctx->card, CU16(base + 1)); |
106 | temp = ctx->card->reg_read(ctx->card, CU16(base + 1)); |
107 | base += 3; |
107 | base += 3; |
108 | break; |
108 | break; |
109 | case ATOM_IIO_WRITE: |
109 | case ATOM_IIO_WRITE: |
- | 110 | (void)ctx->card->reg_read(ctx->card, CU16(base + 1)); |
|
110 | ctx->card->reg_write(ctx->card, CU16(base + 1), temp); |
111 | ctx->card->reg_write(ctx->card, CU16(base + 1), temp); |
111 | base += 3; |
112 | base += 3; |
112 | break; |
113 | break; |
113 | case ATOM_IIO_CLEAR: |
114 | case ATOM_IIO_CLEAR: |
114 | temp &= |
115 | temp &= |