Re: [PATCH] udlfb: handle unplug properly

2018-10-08 Thread Bartlomiej Zolnierkiewicz
On 07/30/2018 12:32 PM, Mikulas Patocka wrote: > The udlfb driver maintained an open count and cleaned up itself when the > count reached zero. But the console is also counted in the reference count > - so, if the user unplugged the device, the open count would not drop to > zero and the driver st

[PATCH] udlfb: handle unplug properly

2018-07-30 Thread Mikulas Patocka
The udlfb driver maintained an open count and cleaned up itself when the count reached zero. But the console is also counted in the reference count - so, if the user unplugged the device, the open count would not drop to zero and the driver stayed loaded with console attached. If the user re-plugge