Skip to content

Commit

Permalink
b43: Replace hardcoded Analog switch
Browse files Browse the repository at this point in the history
Replace a hardcoded Analog switch (which breaks on N-PHY) by a call to
the switch_analog PHY operation.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Michael Buesch authored and John W. Linville committed Sep 8, 2008
1 parent cb24f57 commit 0b7dcd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/wireless/b43/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2718,7 +2718,8 @@ static int b43_chip_init(struct b43_wldev *dev)
if (err)
goto err_gpio_clean;

b43_write16(dev, 0x03E6, 0x0000);
/* Turn the Analog on and initialize the PHY. */
phy->ops->switch_analog(dev, 1);
err = b43_phy_init(dev);
if (err)
goto err_gpio_clean;
Expand Down

0 comments on commit 0b7dcd9

Please sign in to comment.