b43legacy: Fix error due to MMIO access with SSB unpowered

There is a dummy read of a PCI MMIO register that occurs before the SSB bus
has been powered, which is an error. This bug has not been seen earlier,
but was apparently exposed when udev was updated to version 182.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Larry Finger 2012-05-06 16:01:05 -05:00 committed by John W. Linville
parent d8b3fc59f2
commit 8f4b20388f
1 changed files with 0 additions and 2 deletions

View File

@ -1573,8 +1573,6 @@ static void b43legacy_request_firmware(struct work_struct *work)
const char *filename; const char *filename;
int err; int err;
/* do dummy read */
ssb_read32(dev->dev, SSB_TMSHIGH);
if (!fw->ucode) { if (!fw->ucode) {
if (rev == 2) if (rev == 2)
filename = "ucode2"; filename = "ucode2";