Revision 75b0646f hw/pl080.c

b/hw/pl080.c
199 199
            if (size == 0) {
200 200
                /* Transfer complete.  */
201 201
                if (ch->lli) {
202
                    ch->src = ldl_phys(ch->lli);
203
                    ch->dest = ldl_phys(ch->lli + 4);
204
                    ch->ctrl = ldl_phys(ch->lli + 12);
205
                    ch->lli = ldl_phys(ch->lli + 8);
202
                    ch->src = ldl_le_phys(ch->lli);
203
                    ch->dest = ldl_le_phys(ch->lli + 4);
204
                    ch->ctrl = ldl_le_phys(ch->lli + 12);
205
                    ch->lli = ldl_le_phys(ch->lli + 8);
206 206
                } else {
207 207
                    ch->conf &= ~PL080_CCONF_E;
208 208
                }

Also available in: Unified diff