aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMartin Kaiser <[email protected]>2022-10-15 17:11:06 +0200
committerGreg Kroah-Hartman <[email protected]>2022-10-20 17:41:41 +0200
commit12c6223fc1804fd9295dc50d358294539b4a4184 (patch)
tree9951565832ba4ca1ba6075a6acaf0006c789e858 /tools/perf/scripts/python/bin
parent98703e4264afe64cbf2c5a4b6589d6e2a3068833 (diff)
staging: r8188eu: fix led register settings
Using an InterTech DMG-02 dongle, the led remains on when the system goes into standby mode. After wakeup, it's no longer possible to control the led. It turned out that the register settings to enable or disable the led were not correct. They worked for some dongles like the Edimax V2 but not for others like the InterTech DMG-02. This patch fixes the register settings. Bit 3 in the led_cfg2 register controls the led status, bit 5 must always be set to be able to control the led, bit 6 has no influence on the led. Setting the mac_pinmux_cfg register is not necessary. These settings were tested with Edimax V2 and InterTech DMG-02. Cc: [email protected] Fixes: 8cd574e6af54 ("staging: r8188eu: introduce new hal dir for RTL8188eu driver") Suggested-by: Michael Straube <[email protected]> Signed-off-by: Martin Kaiser <[email protected]> Tested-by: Michael Straube <[email protected]> # InterTech DMG-02, Tested-by: Philipp Hortmann <[email protected]> # Edimax N150 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions