Fix fb_ioctl dereference of null fb_info
author Bernie Thompson
Sun, 27 Jun 2010 03:45:00 +0000 (20:45 -0700)
committer Bernie Thompson
Sun, 27 Jun 2010 03:45:00 +0000 (20:45 -0700)
commit ae0502457e54904b1a9e0d67db6719182824da7c
tree 6746c01dee8e3d165cece3e65d212905479ec6f6
parent 1e49ac160f5758e06f967f5f1227e3482d2ce210
Fix fb_ioctl dereference of null fb_info
Rethinking of how we release and free objects.
Teardown path now treats usb and framebuffer teardown more independently.
The driver can now enter a "virtual" state when usb disconnect happens
where the virtual framebuffer can live long enough (at least) to allow
clients to release cleanly.
This also lays the groundwork for hotplug reconnection of a USB display
with a particular serial # to a framebuffer that already exists for it.
udlfb.c
udlfb.h