]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
firewire: wait until PHY configuration packet was transmitted (fix bus reset loop)
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 20 Mar 2008 22:48:23 +0000 (23:48 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 18 Apr 2008 15:55:36 +0000 (17:55 +0200)
commit2a0a2590498be7b92e3e76409c9b8ee722e23c8f
tree4e98255596b8f7bdbd2fc200e5a72a3866544583
parente09770db0fa33baf8df21fbc18aa24a080330c3f
firewire: wait until PHY configuration packet was transmitted (fix bus reset loop)

We now exit fw_send_phy_config /after/ the PHY config packet has been
transmitted, instead of before.  A subsequent fw_core_initiate_bus_reset
will therefore not overlap with the transmission.  This is meant to make
the send PHY config packet + reset bus routine more deterministic.

Fixes bus reset loop and eventual panic with
  - VIA VT6307 + IOGEAR hub + Unibrain Fire-i camera
    http://bugzilla.kernel.org/show_bug.cgi?id=10128
  - JMicron card

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Jarod Wilson <jwilson@redhat.com>
drivers/firewire/fw-transaction.c