aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-iso.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-02-16 17:34:46 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 16:03:01 -0500
commitd2746dc192e8b9446ea1cb843e94c30f177b7e54 (patch)
treefffe9d5bd448e6542407c88f56c1e02a03da248f /drivers/firewire/fw-iso.c
parent1e1d196bf5d9258f9583a05c41c1c351ffcdeac2 (diff)
firewire: Use a buffer fill descriptor for receive when header size is 0.
When the DMA is setup to not strip any headers, we need to use the buffer fill descriptor instead of the dual buffer, since the dual buffer descriptor must strip a non-zero number of header quadlets. Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-iso.c')
-rw-r--r--drivers/firewire/fw-iso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-iso.c b/drivers/firewire/fw-iso.c
index 1605e1157237..736b1bf1513e 100644
--- a/drivers/firewire/fw-iso.c
+++ b/drivers/firewire/fw-iso.c
@@ -111,7 +111,7 @@ fw_iso_context_create(struct fw_card *card, int type, size_t header_size,
111{ 111{
112 struct fw_iso_context *ctx; 112 struct fw_iso_context *ctx;
113 113
114 ctx = card->driver->allocate_iso_context(card, type); 114 ctx = card->driver->allocate_iso_context(card, type, header_size);
115 if (IS_ERR(ctx)) 115 if (IS_ERR(ctx))
116 return ctx; 116 return ctx;
117 117