]> git.baikalelectronics.ru Git - 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)
commit23fe159101cfd4616fdff59c876f5259c7ab7c34
tree0931c9242fd0a17e8fe34fbad571a702950797fc
parentde5c44bd47ded84db2f03e6e3916668ed0e0cdc0
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