提交 0b7dcd96 编写于 作者: M Michael Buesch 提交者: John W. Linville

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: NMichael Buesch <mb@bu3sch.de>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 cb24f57f
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册