aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-device.c')
-rw-r--r--drivers/firewire/fw-device.c2
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