diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-02-17 01:34:46 +0300 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-10 00:03:01 +0300 |
commit | d2746dc192e8b9446ea1cb843e94c30f177b7e54 (patch) | |
tree | fffe9d5bd448e6542407c88f56c1e02a03da248f /drivers/firewire/fw-iso.c | |
parent | 1e1d196bf5d9258f9583a05c41c1c351ffcdeac2 (diff) | |
download | linux-d2746dc192e8b9446ea1cb843e94c30f177b7e54.tar.xz |
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.c | 2 |
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, { struct fw_iso_context *ctx; - ctx = card->driver->allocate_iso_context(card, type); + ctx = card->driver->allocate_iso_context(card, type, header_size); if (IS_ERR(ctx)) return ctx; |