OSDN Git Service

drm/udl: Use USB timeout constant when reading EDID
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 6 Oct 2022 09:53:42 +0000 (11:53 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 7 Oct 2022 11:45:27 +0000 (13:45 +0200)
commit2c1eafc40e53312864bf2fdccb55052dcbd9e8b2
tree8f38da027ef2413bfa2f5b7148b9ed6d8f2067e7
parentc020f66013b6136a68a3a4ad74cc7af3b3310586
drm/udl: Use USB timeout constant when reading EDID

Set the USB control-message timeout to the USB default of 5 seconds.
Done for consistency with other uses of usb_control_msg() in udl and
other drivers.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221006095355.23579-4-tzimmermann@suse.de
drivers/gpu/drm/udl/udl_connector.c