summaryrefslogtreecommitdiffstats
path: root/crypto/aria_generic.c
diff options
context:
space:
mode:
authorDanny Kaehn <danny.kaehn@plexus.com>2023-09-19 23:22:45 +0200
committerJiri Kosina <jkosina@suse.cz>2023-10-04 21:18:19 +0200
commite3c2d2d144c082dd71596953193adf9891491f42 (patch)
treeff43301602e71915be7459965505db9f64dd3f60 /crypto/aria_generic.c
parentMerge tag 'for-linus-2023083101' of git://git.kernel.org/pub/scm/linux/kernel... (diff)
downloadlinux-e3c2d2d144c082dd71596953193adf9891491f42.tar.xz
linux-e3c2d2d144c082dd71596953193adf9891491f42.zip
hid: cp2112: Fix duplicate workqueue initialization
Previously the cp2112 driver called INIT_DELAYED_WORK within cp2112_gpio_irq_startup, resulting in duplicate initilizations of the workqueue on subsequent IRQ startups following an initial request. This resulted in a warning in set_work_data in workqueue.c, as well as a rare NULL dereference within process_one_work in workqueue.c. Initialize the workqueue within _probe instead. Fixes: 13de9cca514e ("HID: cp2112: add IRQ chip handling") Signed-off-by: Danny Kaehn <danny.kaehn@plexus.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'crypto/aria_generic.c')
0 files changed, 0 insertions, 0 deletions