Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b7dcd96 authored by Michael Buesch's avatar Michael Buesch Committed by John W. Linville
Browse files

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: default avatarMichael Buesch <mb@bu3sch.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent cb24f57f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;