firewire: core: optimize card shutdown
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 24 Jan 2009 19:35:38 +0000 (20:35 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 24 Jan 2009 19:40:12 +0000 (20:40 +0100)
commite747a5c0be3efe5465e45c8e326bc766b1288be6
treea9abc47b46e079e38f4477f858dd6ddd791c546c
parent64c634ef83991b390ec0503e61f16efb0ba3c60b
firewire: core: optimize card shutdown

This fixes a regression by "firewire: keep highlevel drivers attached
during brief connection loss":  There were 2 seconds unnecessary waiting
added to the shutdown procedure of each controller.

We use card->link as status flag to signal the device handler that there
is no use to wait for a come-back.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-card.c
drivers/firewire/fw-device.c