summaryrefslogtreecommitdiff
path: root/include/clocksource
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-10-15 18:11:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-12-21 19:48:09 +0300
commit52d5896ba2a4f939d7ff2f26f8e6cba60a8068c4 (patch)
treee3c5f310a35cb8647f873d73cd88b5ecec69e069 /include/clocksource
parentc9cacc0ab1ea5457f7bd454c57f60d31a8771fd4 (diff)
downloadlinux-52d5896ba2a4f939d7ff2f26f8e6cba60a8068c4.tar.xz
staging: r8188eu: fix led register settings
commit 12c6223fc1804fd9295dc50d358294539b4a4184 upstream. 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: stable@vger.kernel.org Fixes: 8cd574e6af54 ("staging: r8188eu: introduce new hal dir for RTL8188eu driver") Suggested-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Martin Kaiser <martin@kaiser.cx> Tested-by: Michael Straube <straube.linux@gmail.com> # InterTech DMG-02, Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Link: https://lore.kernel.org/r/20221015151115.232095-2-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/clocksource')
0 files changed, 0 insertions, 0 deletions