]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
udl-kms: change down_interruptible to down
authorMikulas Patocka <mpatocka@redhat.com>
Sun, 3 Jun 2018 14:40:55 +0000 (16:40 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 30 Jul 2018 22:03:47 +0000 (08:03 +1000)
commit8456b99c16d193c4c3b7df305cf431e027f0189c
tree0931c9242fd0a17e8fe34fbad571a702950797fc
parentacb1872577b346bd15ab3a3f8dff780d6cca4b70
udl-kms: change down_interruptible to down

If we leave urbs around, it causes not only leak, but also memory
corruption. This patch fixes the function udl_free_urb_list, so that it
always waits for all urbs that are in progress.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/udl/udl_main.c