From: Stefan Richter Date: Mon, 7 Sep 2009 23:13:53 +0000 (+0200) Subject: firewire: core: fix topology map response handler X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=85cb9b68640cf467a99d4b6d518f1293222dbc9e;p=deliverable%2Flinux.git firewire: core: fix topology map response handler This register is 1 kBytes large. Adjust topology_map.length to prevent registration of other response handlers in this region and to make sure that we respond to requests to the upper half of the register. Signed-off-by: Stefan Richter --- diff --git a/drivers/firewire/core-transaction.c b/drivers/firewire/core-transaction.c index 479b22f5a1eb..da628c72a462 100644 --- a/drivers/firewire/core-transaction.c +++ b/drivers/firewire/core-transaction.c @@ -834,7 +834,7 @@ static void handle_topology_map(struct fw_card *card, struct fw_request *request } static struct fw_address_handler topology_map = { - .length = 0x200, + .length = 0x400, .address_callback = handle_topology_map, };