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>
This commit is contained in:
committed by
Stefan Richter
parent
1da0c93b31
commit
97bd9efa5a
@@ -535,6 +535,7 @@ static void fw_device_update(struct work_struct *work)
|
||||
struct fw_device *device =
|
||||
container_of(work, struct fw_device, work.work);
|
||||
|
||||
fw_device_cdev_update(device);
|
||||
device_for_each_child(&device->device, NULL, update_unit);
|
||||
}
|
||||
|
||||
@@ -564,6 +565,7 @@ void fw_node_event(struct fw_card *card, struct fw_node *node, int event)
|
||||
device->node = fw_node_get(node);
|
||||
device->node_id = node->node_id;
|
||||
device->generation = card->generation;
|
||||
INIT_LIST_HEAD(&device->client_list);
|
||||
|
||||
/* Set the node data to point back to this device so
|
||||
* FW_NODE_UPDATED callbacks can update the node_id
|
||||
|
Reference in New Issue
Block a user