linux/drivers
Denis Benato 546edbd26c HID: hid-asus: reset the backlight brightness level on resume
Some devices managed by this driver automatically set brightness to 0
before entering a suspended state and reset it back to a default
brightness level after the resume:
this has the effect of having the kernel report wrong brightness
status after a sleep, and on some devices (like the Asus RC71L) that
brightness is the intensity of LEDs directly facing the user.

Fix the above issue by setting back brightness to the level it had
before entering a sleep state.

Signed-off-by: Denis Benato <benato.denis96@gmail.com>
Signed-off-by: Luke D. Jones <luke@ljones.dev>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2023-11-22 11:23:19 +01:00
..
accel drm for 6.7-rc1 2023-11-01 06:28:35 -10:00
accessibility
acpi asm-generic updates for v6.7 2023-11-01 15:28:33 -10:00
amba amba: bus: balance firmware node reference counting 2023-10-17 13:37:35 -05:00
android vfs-6.7.ctime 2023-10-30 09:47:13 -10:00
ata ATA changes for 6.7-rc1 2023-11-01 12:50:12 -10:00
atm pci-v6.7-changes 2023-11-02 14:05:18 -10:00
auxdisplay
base sysctl-6.7-rc1 2023-11-01 20:51:41 -10:00
bcma
block for-6.7/block-2023-10-30 2023-11-01 12:30:07 -10:00
bluetooth Bluetooth: btmtksdio: enable bluetooth wakeup in system suspend 2023-10-23 11:04:51 -07:00
bus SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
cache riscv: RISCV_NONSTANDARD_CACHE_OPS shouldn't depend on RISCV_DMA_NONCOHERENT 2023-10-26 09:42:37 +02:00
cdrom cdrom: Remove now superfluous sentinel element from ctl_table array 2023-10-02 20:04:58 -06:00
cdx
char sysctl-6.7-rc1 2023-11-01 20:51:41 -10:00
clk SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
clocksource arm64 updates for 6.7: 2023-11-01 09:34:55 -10:00
comedi
connector Fix NULL pointer dereference in cn_filter() 2023-10-24 10:53:45 +02:00
counter First set of Counter fixes for 6.6 2023-10-02 13:13:15 +02:00
cpufreq asm-generic updates for v6.7 2023-11-01 15:28:33 -10:00
cpuidle
crypto virtio-crypto: handle config changed by work queue 2023-10-18 11:30:06 -04:00
cxl
dax
dca
devfreq PM / devfreq: rockchip-dfi: add support for RK3588 2023-10-19 21:21:16 +09:00
dio
dma dmaengine fixes for v6.6 2023-10-13 08:52:57 -07:00
dma-buf dma-buf: add dma_fence_timestamp helper 2023-10-05 11:05:58 +02:00
dpll dpll: netlink/core: change pin frequency set behavior 2023-10-15 16:08:25 +01:00
edac hardening updates for v6.7-rc1 2023-10-30 19:09:55 -10:00
eisa
extcon
firewire scsi: sd: Introduce manage_shutdown device flag 2023-10-27 10:00:19 +09:00
firmware asm-generic updates for v6.7 2023-11-01 15:28:33 -10:00
fpga fpga: Fix memory leak for fpga_region_test_class_find() 2023-10-24 19:32:39 +02:00
fsi
gnss
gpio gpio updates for v6.7-rc1 2023-10-31 17:21:54 -10:00
gpu pci-v6.7-changes 2023-11-02 14:05:18 -10:00
greybus
hid HID: hid-asus: reset the backlight brightness level on resume 2023-11-22 11:23:19 +01:00
hsi
hte hte: Changes for v6.7-rc1 2023-10-31 18:32:51 -10:00
hv Drivers: hv: Remove now superfluous sentinel element from ctl_table array 2023-10-11 12:16:14 -07:00
hwmon hwmon updates for v6.7-rc1 2023-10-31 17:44:17 -10:00
hwspinlock
hwtracing
i2c gpio updates for v6.7-rc1 2023-10-31 17:21:54 -10:00
i3c i3c: Add support for bus enumeration & notification 2023-10-17 12:45:03 +02:00
idle intel_idle: Add ibrs_off module parameter to force-disable IBRS 2023-10-07 11:33:28 +02:00
iio iio: afe: rescale: Accept only offset channels 2023-10-17 20:25:32 +01:00
infiniband sysctl-6.7-rc1 2023-11-01 20:51:41 -10:00
input asm-generic updates for v6.7 2023-11-01 15:28:33 -10:00
interconnect
iommu iommufd for 6.7 2023-11-01 16:44:56 -10:00
ipack
irqchip arm64 updates for 6.7: 2023-11-01 09:34:55 -10:00
isdn hardening updates for v6.7-rc1 2023-10-30 19:09:55 -10:00
leds
macintosh macintosh: Remove the now superfluous sentinel element from ctl_table array 2023-10-11 12:16:13 -07:00
mailbox ACPI updates for 6.7-rc1 2023-10-31 15:33:26 -10:00
mcb mcb: remove is_added flag from mcb_device struct 2023-10-05 09:50:14 +02:00
md sysctl-6.7-rc1 2023-11-01 20:51:41 -10:00
media asm-generic updates for v6.7 2023-11-01 15:28:33 -10:00
memory Memory controller drivers for v6.7 2023-10-16 23:00:46 +02:00
memstick
message
mfd Couple of small fixes, including: 2023-10-05 11:03:20 -07:00
misc pci-v6.7-changes 2023-11-02 14:05:18 -10:00
mmc mmc: Merge branch fixes into next 2023-10-27 12:00:35 +02:00
most
mtd gpio updates for v6.7-rc1 2023-10-31 17:21:54 -10:00
mux
net sysctl-6.7-rc1 2023-11-01 20:51:41 -10:00
nfc
ntb
nubus
nvdimm
nvme for-6.7/block-2023-10-30 2023-11-01 12:30:07 -10:00
nvmem nvmem: imx: correct nregs for i.MX6ULL 2023-10-16 21:00:08 +02:00
of Devicetree updates for 6.7: 2023-10-31 18:50:13 -10:00
opp OPP: No need to defer probe from _opp_attach_genpd() 2023-10-17 11:11:28 +05:30
parisc parisc/power: Trivial whitespace cleanups and license update 2023-10-30 14:54:40 +01:00
parport parport: Remove the now superfluous sentinel element from ctl_table array 2023-10-11 12:16:13 -07:00
pci pci-v6.7-changes 2023-11-02 14:05:18 -10:00
pcmcia
peci
perf sysctl-6.7-rc1 2023-11-01 20:51:41 -10:00
phy phy fixes for 6.6 2023-10-22 07:11:10 -10:00
pinctrl gpio updates for v6.7-rc1 2023-10-31 17:21:54 -10:00
platform platform-drivers-x86 for v6.7-1 2023-10-31 17:53:00 -10:00
pmdomain SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
pnp PNP: replace deprecated strncpy() with memcpy() 2023-10-20 19:50:40 +02:00
power power: reset: vexpress: Use device_get_match_data() 2023-10-21 00:57:55 +02:00
powercap powercap: intel_rapl: Downgrade BIOS locked limits pr_warn() to pr_debug() 2023-10-24 22:07:07 +02:00
pps
ps3
ptp ptp: prevent string overflow 2023-10-19 15:51:52 -07:00
pwm
rapidio
ras
regulator regulator: Merge up pending fix 2023-10-30 13:14:27 +00:00
remoteproc
reset reset: Annotate struct reset_control_array with __counted_by 2023-10-24 14:10:04 -07:00
rpmsg
rtc
s390 Networking changes for 6.7. 2023-10-31 05:10:11 -10:00
sbus
scsi pci-v6.7-changes 2023-11-02 14:05:18 -10:00
sh
siox
slimbus
soc The number of commits for documentation is not huge this time around, but 2023-11-01 17:11:41 -10:00
soundwire
spi spi: Merge up fix 2023-10-30 13:20:58 +00:00
spmi
ssb ssb: relax SSB_EMBEDDED dependencies 2023-10-19 10:26:26 +03:00
staging drm for 6.7-rc1 2023-11-01 06:28:35 -10:00
target scsi: target: Convert to bdev_open_by_path() 2023-10-28 13:29:19 +02:00
tc
tee ARM: SoC fixes for 6.6, part 2 2023-10-12 11:52:23 -07:00
thermal Thermal control updates for 6.7-rc1 2023-10-31 15:28:37 -10:00
thunderbolt thunderbolt: Fix for v6.6-rc7 2023-10-17 19:25:42 +02:00
tty sysctl-6.7-rc1 2023-11-01 20:51:41 -10:00
ufs scsi: ufs: core: Correct clear TM error log 2023-10-09 21:33:30 -04:00
uio
usb drm for 6.7-rc1 2023-11-01 06:28:35 -10:00
vdpa vdpa/mlx5: Fix firmware error on creation of 1k VQs 2023-10-18 11:29:41 -04:00
vfio iommufd for 6.7 2023-11-01 16:44:56 -10:00
vhost Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-10-26 13:46:28 -07:00
video asm-generic updates for v6.7 2023-11-01 15:28:33 -10:00
virt hardening updates for v6.7-rc1 2023-10-30 19:09:55 -10:00
virtio virtio_pci: fix the common cfg map size 2023-10-18 11:30:12 -04:00
vlynq
w1
watchdog
xen sysctl-6.7-rc1 2023-11-01 20:51:41 -10:00
zorro
Kconfig - Move Kconfig files into the pmdomain subsystem 2023-11-01 13:09:46 -10:00
Makefile