aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-device-cdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-device-cdev.c')
-rw-r--r--drivers/firewire/fw-device-cdev.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/firewire/fw-device-cdev.c b/drivers/firewire/fw-device-cdev.c
index b738c997ef39..1ce33d4f91a3 100644
--- a/drivers/firewire/fw-device-cdev.c
+++ b/drivers/firewire/fw-device-cdev.c
@@ -514,6 +514,11 @@ static int ioctl_start_iso(struct client *client, void __user *arg)
514 request.speed, request.cycle); 514 request.speed, request.cycle);
515} 515}
516 516
517static int ioctl_stop_iso(struct client *client, void __user *arg)
518{
519 return fw_iso_context_stop(client->iso_context);
520}
521
517static int 522static int
518dispatch_ioctl(struct client *client, unsigned int cmd, void __user *arg) 523dispatch_ioctl(struct client *client, unsigned int cmd, void __user *arg)
519{ 524{
@@ -532,6 +537,8 @@ dispatch_ioctl(struct client *client, unsigned int cmd, void __user *arg)
532 return ioctl_queue_iso(client, arg); 537 return ioctl_queue_iso(client, arg);
533 case FW_CDEV_IOC_START_ISO: 538 case FW_CDEV_IOC_START_ISO:
534 return ioctl_start_iso(client, arg); 539 return ioctl_start_iso(client, arg);
540 case FW_CDEV_IOC_STOP_ISO:
541 return ioctl_stop_iso(client, arg);
535 default: 542 default:
536 return -EINVAL; 543 return -EINVAL;
537 } 544 }