udl-kms: change down_interruptible to down
authorMikulas Patocka <mpatocka@redhat.com>
Sun, 3 Jun 2018 14:40:55 +0000 (16:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2018 07:26:38 +0000 (09:26 +0200)
commit29e641a3693a14bfcf144dc245ded989e00025e6
treef1cf12a00d9ca26109140f6e04cc026e5b5d6927
parente8a3f3a03655a3b4fb2c40972034a40c77b2842e
udl-kms: change down_interruptible to down

commit 8456b99c16d193c4c3b7df305cf431e027f0189c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/udl/udl_main.c