]> git.karo-electronics.de Git - karo-tx-linux.git/commit
udlfb: fix hcd_buffer_free panic on unplug/replug
authorBernie Thompson <bernie@plugable.com>
Fri, 2 Mar 2012 01:35:48 +0000 (17:35 -0800)
committerBernie Thompson <bernie@plugable.com>
Fri, 2 Mar 2012 01:46:27 +0000 (17:46 -0800)
commit8d21547d3c9c3bc653261f26d554cfabc4a083de
tree3b7751c777f42aab86c4433736b30234eb72cda0
parent9daee73c81d21f9f07f236f106da5d93c40f7a92
udlfb: fix hcd_buffer_free panic on unplug/replug

Fix race conditions with unplug/replug behavior, in particular
take care not to hold up USB probe/disconnect for long-running
framebuffer operations and rely on usb to handle teardown.

Fix for kernel panic reported with new F17 multiseat support.

Reported-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Bernie Thompson <bernie@plugable.com>
drivers/video/udlfb.c
include/video/udlfb.h