rk30 lcdc: display lut support
[firefly-linux-kernel-4.4.55.git] / drivers / video / udlfb.c
index 816a4fda04f5b9c0637721054a5c7aba1a456932..415e9b2f43dec4777ea054007e81ec018bf40437 100644 (file)
@@ -1666,7 +1666,7 @@ static void dlfb_usb_disconnect(struct usb_interface *interface)
        for (i = 0; i < ARRAY_SIZE(fb_device_attrs); i++)
                device_remove_file(info->dev, &fb_device_attrs[i]);
        device_remove_bin_file(info->dev, &edid_attr);
-
+       unlink_framebuffer(info);
        usb_set_intfdata(interface, NULL);
 
        /* if clients still have us open, will be freed on last close */