diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-03-07 12:12:41 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-09 16:03:08 -0500 |
commit | 97bd9efa5a4d8a70b3bafe0d1e3e1a814fdac5bc (patch) | |
tree | 7f405323e9b6ccd690b7673cc4495d35e5926a06 /drivers/firewire/fw-device.c | |
parent | 1da0c93b31bb8f374a22f4e20dab02fd79f6c7e6 (diff) |
firewire: Add a bus reset event type for fw-device-cdev.
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-device.c')
-rw-r--r-- | drivers/firewire/fw-device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firewire/fw-device.c b/drivers/firewire/fw-device.c index 5599265da4a6..ccc05e511a4f 100644 --- a/drivers/firewire/fw-device.c +++ b/drivers/firewire/fw-device.c | |||
@@ -535,6 +535,7 @@ static void fw_device_update(struct work_struct *work) | |||
535 | struct fw_device *device = | 535 | struct fw_device *device = |
536 | container_of(work, struct fw_device, work.work); | 536 | container_of(work, struct fw_device, work.work); |
537 | 537 | ||
538 | fw_device_cdev_update(device); | ||
538 | device_for_each_child(&device->device, NULL, update_unit); | 539 | device_for_each_child(&device->device, NULL, update_unit); |
539 | } | 540 | } |
540 | 541 | ||
@@ -564,6 +565,7 @@ void fw_node_event(struct fw_card *card, struct fw_node *node, int event) | |||
564 | device->node = fw_node_get(node); | 565 | device->node = fw_node_get(node); |
565 | device->node_id = node->node_id; | 566 | device->node_id = node->node_id; |
566 | device->generation = card->generation; | 567 | device->generation = card->generation; |
568 | INIT_LIST_HEAD(&device->client_list); | ||
567 | 569 | ||
568 | /* Set the node data to point back to this device so | 570 | /* Set the node data to point back to this device so |
569 | * FW_NODE_UPDATED callbacks can update the node_id | 571 | * FW_NODE_UPDATED callbacks can update the node_id |