projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb24f57
)
b43: Replace hardcoded Analog switch
author
Michael Buesch
<mb@bu3sch.de>
Wed, 3 Sep 2008 10:31:54 +0000
(12:31 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 8 Sep 2008 18:00:17 +0000
(14:00 -0400)
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>
drivers/net/wireless/b43/main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/b43/main.c
b/drivers/net/wireless/b43/main.c
index ab9fa8126b7b239b18e31f185f59fb7c7c27a036..c836beceb10d6272c276e204d0f730b5659945eb 100644
(file)
--- 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)
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;