linux-stable/drivers
Christophe JAILLET b07b6b27a5 HID: nvidia-shield: Fix a missing led_classdev_unregister() in the probe error handling path
The commit in Fixes updated the error handling path of
thunderstrike_create() and the remove function but not the error handling
path of shield_probe(), should an error occur after a successful
thunderstrike_create() call.

Add the missing call. Make sure it is safe to call in the probe error
handling path by preventing the led_classdev from attempting to set the LED
brightness to the off state on unregister.

Fixes: f88af60e74 ("HID: nvidia-shield: Support LED functionality for Thunderstrike")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2023-10-05 12:50:34 +02:00
..
accel Linux 6.5-rc7 2023-08-24 07:26:06 +10:00
accessibility
acpi Char/Misc driver changes for 6.6-rc1 2023-09-01 09:53:54 -07:00
amba
android Char/Misc driver changes for 6.6-rc1 2023-09-01 09:53:54 -07:00
ata
atm
auxdisplay drm for 6.6-rc1 2023-08-30 13:34:34 -07:00
base Driver core changes for 6.6-rc1 2023-09-01 09:43:18 -07:00
bcma
block for-6.6/block-2023-08-28 2023-08-29 20:21:42 -07:00
bluetooth TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
bus Char/Misc driver changes for 6.6-rc1 2023-09-01 09:53:54 -07:00
cdrom
cdx
char Char/Misc driver changes for 6.6-rc1 2023-09-01 09:53:54 -07:00
clk This pull request is full of clk driver changes. In fact, there aren't any 2023-08-30 19:53:39 -07:00
clocksource clocksource: Explicitly include correct DT includes 2023-08-28 13:30:57 -05:00
comedi
connector
counter
cpufreq ARM cpufreq updates for 6.6 2023-08-28 14:12:05 +02:00
cpuidle powerpc updates for 6.6 2023-08-31 12:43:10 -07:00
crypto This update includes the following changes: 2023-08-29 11:23:29 -07:00
cxl
dax mm: remove enum page_entry_size 2023-08-24 16:20:30 -07:00
dca
devfreq
dio
dma
dma-buf drm for 6.6-rc1 2023-08-30 13:34:34 -07:00
edac Intel EDAC fixes: 2023-08-30 19:23:00 -07:00
eisa
extcon
firewire
firmware Char/Misc driver changes for 6.6-rc1 2023-09-01 09:53:54 -07:00
fpga
fsi
genpd ARM: SoC drivers for 6.6 2023-08-30 16:42:21 -07:00
gnss
gpio gpio updates for v6.6 2023-08-29 10:21:56 -07:00
gpu TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
greybus
hid HID: nvidia-shield: Fix a missing led_classdev_unregister() in the probe error handling path 2023-10-05 12:50:34 +02:00
hsi
hte hte: Explicitly include correct DT includes 2023-08-28 13:31:06 -05:00
hv
hwmon Char/Misc driver changes for 6.6-rc1 2023-09-01 09:53:54 -07:00
hwspinlock
hwtracing
i2c media updates for v6.6-rc1 2023-09-01 12:21:32 -07:00
i3c
idle Perf events changes for v6.6: 2023-08-28 16:35:01 -07:00
iio Char/Misc driver changes for 6.6-rc1 2023-09-01 09:53:54 -07:00
infiniband Networking changes for 6.6. 2023-08-29 11:33:01 -07:00
input
interconnect This pull request is full of clk driver changes. In fact, there aren't any 2023-08-30 19:53:39 -07:00
iommu iommufd for 6.6 2023-08-30 20:41:37 -07:00
ipack
irqchip Documentation work keeps chugging along; stuff for 6.6 includes: 2023-08-30 20:05:42 -07:00
isdn
leds platform-drivers-x86 for v6.6-1 2023-09-01 09:16:47 -07:00
macintosh powerpc updates for 6.6 2023-08-31 12:43:10 -07:00
mailbox
mcb
md for-6.6/block-2023-08-28 2023-08-29 20:21:42 -07:00
media media updates for v6.6-rc1 2023-09-01 12:21:32 -07:00
memory
memstick
message
mfd spi: Updates for v6.6 2023-08-29 09:47:33 -07:00
misc Char/Misc driver changes for 6.6-rc1 2023-09-01 09:53:54 -07:00
mmc TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
most
mtd mtd: key superblock by device number 2023-08-31 12:47:15 +02:00
mux mux: Explicitly include correct DT includes 2023-08-28 13:36:24 -05:00
net TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
nfc
ntb
nubus
nvdimm nvdimm changes for v6.6 merge window 2023-08-30 20:52:08 -07:00
nvme for-6.6/block-2023-08-28 2023-08-29 20:21:42 -07:00
nvmem nvmem: core: Notify when a new layout is registered 2023-08-23 16:34:02 +02:00
of Devicetree updates for v6.6: 2023-08-30 16:59:03 -07:00
opp
parisc parisc: ccio-dma: Create private runway procfs root entry 2023-08-28 18:00:27 +02:00
parport TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
pci powerpc updates for 6.6 2023-08-31 12:43:10 -07:00
pcmcia
peci
perf RISC-V Patches for the 6.6 Merge Window, Part 1 2023-09-01 08:09:48 -07:00
phy USB / Thunderbolt / PHY driver update for 6.6-rc1 2023-09-01 09:23:34 -07:00
pinctrl Pin control bulk changes for the v6.6 kernel cycle: 2023-08-30 19:36:19 -07:00
platform USB / Thunderbolt / PHY driver update for 6.6-rc1 2023-09-01 09:23:34 -07:00
pnp
power
powercap Power management updates for 6.6-rc1 2023-08-28 18:04:39 -07:00
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: Updates for v6.6 2023-08-29 09:40:16 -07:00
remoteproc
reset This pull request is full of clk driver changes. In fact, there aren't any 2023-08-30 19:53:39 -07:00
rpmsg
rtc
s390 TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
sbus sbus: Explicitly include correct DT includes 2023-08-28 13:36:24 -05:00
scsi for-6.6/block-2023-08-28 2023-08-29 20:21:42 -07:00
sh
siox
slimbus
soc This pull request is full of clk driver changes. In fact, there aren't any 2023-08-30 19:53:39 -07:00
soundwire
spi spi: Updates for v6.6 2023-08-29 09:47:33 -07:00
spmi
ssb
staging media updates for v6.6-rc1 2023-09-01 12:21:32 -07:00
target
tc
tee
thermal Thermal control updates for 6.6-rc1 2023-08-28 18:26:45 -07:00
thunderbolt
tty TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
ufs
uio
usb TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
vdpa
vfio iommufd for 6.6 2023-08-30 20:41:37 -07:00
vhost
video fbdev: ssd1307fb: Use bool for ssd1307fb_deviceinfo flags 2023-09-01 00:29:34 +02:00
virt minmax: add in_range() macro 2023-08-24 16:20:18 -07:00
virtio
vlynq
w1
watchdog watchdog: simatic: Use idiomatic selection of P2SB 2023-08-23 17:31:31 +02:00
xen dma-maping updates for Linux 6.6 2023-08-29 20:32:10 -07:00
zorro
Kconfig
Makefile This pull-request adds a new subsystem for genpd providers in drivers/genpd 2023-08-30 16:37:00 -07:00