From: Jarod Wilson Date: Fri, 28 Mar 2008 14:02:50 +0000 (-0400) Subject: firewire: fw-ohci: make sure HCControl register LPS bit is set X-Git-Tag: v2.6.26-rc1~1141^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=022147242ff6e4b7ab770f00716063f48c088391;p=pandora-kernel.git firewire: fw-ohci: make sure HCControl register LPS bit is set I've now witnessed multiple occasions where one of my controllers (a very poorly working JMicron PCIe card) fails to get its registers properly set up in ohci_enable(), apparently due to an occasionally very slow to initiate SClk. The easy fix for this problem is to add a tiny while loop to try again a time or three after initially enabling LPS before we move on (or give up). Of course, the card still isn't fully functional yet, but this gets it at least one tiny step closer... Signed-off-by: Jarod Wilson Signed-off-by: Stefan Richter --- Reading git-diff-tree failed