drm/udl: Remove field lost_pixels from struct udl_device
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 6 Dec 2019 08:59:54 +0000 (09:59 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 6 Dec 2019 12:52:33 +0000 (13:52 +0100)
commit1ca3fd96f958291daa50693b4a50cd3df4b411f1
tree638aa4a382f69ed6af65297d1c3c746bd2f59460
parent798ce3fe1c3a9819f46a5fb930b24a19ccf59c89
drm/udl: Remove field lost_pixels from struct udl_device

The field lost_pixels in struct udl_device was supposed to signal an
error during USB transfers of the framebuffer data. The driver would
have to schedule a re-transfer at a later point. This code was never
implemented. Remove lost_pixels and return regular error codes instead.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191206085954.9697-8-tzimmermann@suse.de
drivers/gpu/drm/udl/udl_drv.h
drivers/gpu/drm/udl/udl_fb.c
drivers/gpu/drm/udl/udl_main.c
drivers/gpu/drm/udl/udl_transfer.c