firewire: Implement functionality to stop isochronous DMA contexts.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h
index 9ccbed8..b2a0a03 100644
--- a/drivers/firewire/fw-transaction.h
+++ b/drivers/firewire/fw-transaction.h
@@ -386,6 +386,9 @@
fw_iso_context_start(struct fw_iso_context *ctx,
int channel, int speed, int cycle);
+int
+fw_iso_context_stop(struct fw_iso_context *ctx);
+
struct fw_card_driver {
const char *name;
@@ -428,6 +431,8 @@
struct fw_iso_packet *packet,
struct fw_iso_buffer *buffer,
unsigned long payload);
+
+ int (*stop_iso)(struct fw_iso_context *ctx);
};
int