092e77d948
Patches by Jes Sorensen: https://git.kernel.org/cgit/linux/kernel/git/jes/linux.git/ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
23 lines
911 B
Diff
23 lines
911 B
Diff
From 720e57cf9ea8c3121063bc2340be536b3260663e Mon Sep 17 00:00:00 2001
|
|
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
|
Date: Fri, 22 Jul 2016 11:20:00 -0400
|
|
Subject: [PATCH] rtl8xxxu: 8188eu uses the gen2 thermal meter
|
|
|
|
Vendor driver writes thermal meter setup to RF register 0x42, hence
|
|
the gen2 setup. However the driver doesn't do much with it.
|
|
|
|
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
|
---
|
|
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
|
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
|
@@ -1014,6 +1014,7 @@ struct rtl8xxxu_fileops rtl8188eu_fops =
|
|
.writeN_block_size = 128,
|
|
.rx_desc_size = sizeof(struct rtl8xxxu_rxdesc16),
|
|
.has_tx_report = 1,
|
|
+ .gen2_thermal_meter = 1,
|
|
.adda_1t_init = 0x0b1b25a0,
|
|
.adda_1t_path_on = 0x0bdb25a0,
|
|
.adda_2t_path_on_a = 0x04db25a4,
|