diff options
author | Takashi Iwai | 2022-09-08 11:51:14 +0200 |
---|---|---|
committer | Thomas Zimmermann | 2022-09-10 21:45:52 +0200 |
commit | 2c2705bd09730dba6017b26897a2bcd3c5d21557 (patch) | |
tree | 0eb0814020ec6fe289bd50d545a289c62992f98a /drivers/gpu/drm/kmb | |
parent | c5c354a3a4728045e1342166394c615d75d45377 (diff) |
drm/udl: Don't re-initialize stuff at retrying the URB list allocation
udl_alloc_urb_list() retires the allocation if there is no enough room
left, and it reinitializes the stuff unnecessarily such as the linked
list head and the waitqueue, which could be harmful. Those should be
outside the retry loop.
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220908095115.23396-12-tiwai@suse.de
Diffstat (limited to 'drivers/gpu/drm/kmb')
0 files changed, 0 insertions, 0 deletions