aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/udl/udl_main.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2022-09-08 09:51:05 +0000
committerThomas Zimmermann <[email protected]>2022-09-10 19:45:45 +0000
commit1ceef996c99f1e8a44df8714fcf12822353ac488 (patch)
treedba49499f9e52a0791c63c147ff23ff450512daa /drivers/gpu/drm/udl/udl_main.c
parentdrm/udl: Restore display mode on resume (diff)
downloadkernel-1ceef996c99f1e8a44df8714fcf12822353ac488.tar.gz
kernel-1ceef996c99f1e8a44df8714fcf12822353ac488.zip
drm/udl: Add reset_resume
Implement the reset_resume callback of struct usb_driver. Set the standard channel when called. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/udl/udl_main.c')
-rw-r--r--drivers/gpu/drm/udl/udl_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/udl/udl_main.c b/drivers/gpu/drm/udl/udl_main.c
index fdafbf8f3c3c..7d1e6bbc165c 100644
--- a/drivers/gpu/drm/udl/udl_main.c
+++ b/drivers/gpu/drm/udl/udl_main.c
@@ -92,7 +92,7 @@ success:
/*
* Need to ensure a channel is selected before submitting URBs
*/
-static int udl_select_std_channel(struct udl_device *udl)
+int udl_select_std_channel(struct udl_device *udl)
{
static const u8 set_def_chn[] = {0x57, 0xCD, 0xDC, 0xA7,
0x1C, 0x88, 0x5E, 0x15,