summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-11-04 02:53:41 +0000
committerTakashi Iwai <tiwai@suse.de>2026-11-05 08:54:46 +0100
commitd21746bafdb8e1a5fc9bdcb86f603d827a500a62 (patch)
treeb254267662f63e7acb2555b59732187294e67002 /include/linux/timerqueue.h
parentdb51425c9eb038a8e40e09b837afde015ae9e3ec (diff)
ALSA: caiaq: free the EP4 URB when input setup fails
The three controllers that use the EP4 input URB allocate it before checking the endpoint type and before registering the input device. On failure they jump to exit_free_idev, which clears cdev->input_dev but leaves cdev->ep4_in_urb set. The card teardown then calls snd_usb_caiaq_input_free(), which returns early because input_dev is NULL, so the URB is never freed. Release the URB before dropping the input device on the error path. Fixes: 6da7a2aa899f ("ALSA: usb/caiaq: Add support for Traktor Kontrol X1") Cc: stable@vger.kernel.org Assisted-by: DeepSeek-V4.1-Flash and OpenAI Codex Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Link: https://patch.msgid.link/20261104025341.1527407-1-vulab@iscas.ac.cn Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions