From a0847e4ccfc8174296065ac82f96e91558fe2177 Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Sun, 18 Mar 2012 19:01:39 +0100 Subject: [PATCH] --- yaml --- r: 294127 b: refs/heads/master c: 32c507f7b73d74c00caae6bbbd539f368be5d108 h: refs/heads/master i: 294125: 34134ae0c7689bde1ceabb73371b428813f042c3 294123: f1cb014a76848980679130208cb75b8c67e59557 294119: 490001b77ecb20457d576b5601fd90d2b0fbd22b 294111: 7b228d4d6b2022ec9e169f0e0ce66ccf74916a80 v: v3 --- [refs] | 2 +- trunk/drivers/firewire/ohci.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 095462bd8f19..879278c8aff4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a7611e84bd06c70c8b0cd88cd1e474c3c42fee3e +refs/heads/master: 32c507f7b73d74c00caae6bbbd539f368be5d108 diff --git a/trunk/drivers/firewire/ohci.c b/trunk/drivers/firewire/ohci.c index e52615a14382..74ff1a8f4fcb 100644 --- a/trunk/drivers/firewire/ohci.c +++ b/trunk/drivers/firewire/ohci.c @@ -2685,10 +2685,9 @@ static void copy_iso_headers(struct iso_context *ctx, void *p) return; /* - * The iso header is byteswapped to little endian by - * the controller, but the remaining header quadlets - * are big endian. We want to present all the headers - * as big endian, so we have to swap the first quadlet. + * The two iso header quadlets are byteswapped to little + * endian by the controller, but we want to present them + * as big endian for consistency with the bus endianness. */ if (ctx->base.header_size > 0) *(u32 *) (ctx->header + i) = __swab32(*(u32 *) (p + 4));