aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2008-09-03 06:31:54 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-09-08 14:00:17 -0400
commit0b7dcd9652c8d6b2a0dd04f3a3e6ca0574560042 (patch)
treea3fcd14b6c29f3f256e73dc23e7dd506d25a17f7 /drivers/net/wireless/b43
parentcb24f57fe6f94a445fad8fab6ebdde7c51857895 (diff)
b43: Replace hardcoded Analog switch
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>
Diffstat (limited to 'drivers/net/wireless/b43')
-rw-r--r--drivers/net/wireless/b43/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index ab9fa8126b7b..c836beceb10d 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -2718,7 +2718,8 @@ static int b43_chip_init(struct b43_wldev *dev)
2718 if (err) 2718 if (err)
2719 goto err_gpio_clean; 2719 goto err_gpio_clean;
2720 2720
2721 b43_write16(dev, 0x03E6, 0x0000); 2721 /* Turn the Analog on and initialize the PHY. */
2722 phy->ops->switch_analog(dev, 1);
2722 err = b43_phy_init(dev); 2723 err = b43_phy_init(dev);
2723 if (err) 2724 if (err)
2724 goto err_gpio_clean; 2725 goto err_gpio_clean;