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:
dc14b02
)
rt2x00: rt2800lib: no need to write RF register 3 twice for RT5592
author
Kevin Lo
<kevlo@kevlo.org>
Thu, 14 Nov 2013 05:53:44 +0000
(13:53 +0800)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 5 Dec 2013 19:55:00 +0000
(14:55 -0500)
In rt2800_init_rfcsr_5592(), there's no need to write RF register 3 twice.
Signed-off-by: Kevin Lo <kevlo@kevlo.org>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/rt2x00/rt2800lib.c
b/drivers/net/wireless/rt2x00/rt2800lib.c
index 7848b39078c398cf7a1ab42866a9d1f7b4896f5b..5ee5b296ad28fceb720cbd7a3016b57beaa7ed2f 100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/
drivers/net/wireless/rt2x00/rt2800lib.c
@@
-6610,7
+6610,6
@@
static void rt2800_init_rfcsr_5592(struct rt2x00_dev *rt2x00dev)
rt2800_rfcsr_write(rt2x00dev, 1, 0x3F);
rt2800_rfcsr_write(rt2x00dev, 3, 0x08);
- rt2800_rfcsr_write(rt2x00dev, 3, 0x08);
rt2800_rfcsr_write(rt2x00dev, 5, 0x10);
rt2800_rfcsr_write(rt2x00dev, 6, 0xE4);
rt2800_rfcsr_write(rt2x00dev, 7, 0x00);