aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-iso.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-02-16 17:34:51 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 16:03:04 -0500
commit98b6cbe83b6e8db54638746c9040c7962d96b322 (patch)
treead9d7587a5dde5510b402da8681e8c3d150d7ca5 /drivers/firewire/fw-iso.c
parent21efb3cfc6ed49991638000f58bb23b838c76e25 (diff)
firewire: Implement sync and tag matching for isochronous receive.
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.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/firewire/fw-iso.c b/drivers/firewire/fw-iso.c
index dc5a7e3558ec..728cbb3ee91d 100644
--- a/drivers/firewire/fw-iso.c
+++ b/drivers/firewire/fw-iso.c
@@ -107,12 +107,14 @@ void fw_iso_buffer_destroy(struct fw_iso_buffer *buffer,
107 107
108struct fw_iso_context * 108struct fw_iso_context *
109fw_iso_context_create(struct fw_card *card, int type, 109fw_iso_context_create(struct fw_card *card, int type,
110 int channel, int speed, size_t header_size, 110 int channel, int speed,
111 int sync, int tags, size_t header_size,
111 fw_iso_callback_t callback, void *callback_data) 112 fw_iso_callback_t callback, void *callback_data)
112{ 113{
113 struct fw_iso_context *ctx; 114 struct fw_iso_context *ctx;
114 115
115 ctx = card->driver->allocate_iso_context(card, type, header_size); 116 ctx = card->driver->allocate_iso_context(card, type,
117 sync, tags, header_size);
116 if (IS_ERR(ctx)) 118 if (IS_ERR(ctx))
117 return ctx; 119 return ctx;
118 120
@@ -120,6 +122,8 @@ fw_iso_context_create(struct fw_card *card, int type,
120 ctx->type = type; 122 ctx->type = type;
121 ctx->channel = channel; 123 ctx->channel = channel;
122 ctx->speed = speed; 124 ctx->speed = speed;
125 ctx->sync = sync;
126 ctx->tags = tags;
123 ctx->header_size = header_size; 127 ctx->header_size = header_size;
124 ctx->callback = callback; 128 ctx->callback = callback;
125 ctx->callback_data = callback_data; 129 ctx->callback_data = callback_data;