Patch "drm/udl: fix control-message timeout" has been added to the 4.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/udl: fix control-message timeout

to the 4.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-udl-fix-control-message-timeout.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From 5591c8f79db1729d9c5ac7f5b4d3a5c26e262d93 Mon Sep 17 00:00:00 2001
From: Johan Hovold <johan@xxxxxxxxxx>
Date: Mon, 25 Oct 2021 13:53:53 +0200
Subject: drm/udl: fix control-message timeout

From: Johan Hovold <johan@xxxxxxxxxx>

commit 5591c8f79db1729d9c5ac7f5b4d3a5c26e262d93 upstream.

USB control-message timeouts are specified in milliseconds and should
specifically not vary with CONFIG_HZ.

Fixes: 5320918b9a87 ("drm/udl: initial UDL driver (v4)")
Cc: stable@xxxxxxxxxxxxxxx      # 3.4
Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx>
Link: https://patchwork.freedesktop.org/patch/msgid/20211025115353.5089-1-johan@xxxxxxxxxx
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/gpu/drm/udl/udl_connector.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/udl/udl_connector.c
+++ b/drivers/gpu/drm/udl/udl_connector.c
@@ -37,7 +37,7 @@ static u8 *udl_get_edid(struct udl_devic
 		ret = usb_control_msg(udl->udev,
 				      usb_rcvctrlpipe(udl->udev, 0), (0x02),
 				      (0x80 | (0x02 << 5)), i << 8, 0xA1, rbuf, 2,
-				      HZ);
+				      1000);
 		if (ret < 1) {
 			DRM_ERROR("Read EDID byte %d failed err %x\n", i, ret);
 			goto error;


Patches currently in stable-queue which might be from johan@xxxxxxxxxx are

queue-4.9/alsa-ua101-fix-division-by-zero-at-probe.patch
queue-4.9/ath6kl-fix-control-message-timeout.patch
queue-4.9/usb-iowarrior-fix-control-message-timeouts.patch
queue-4.9/usb-chipidea-fix-interrupt-deadlock.patch
queue-4.9/alsa-line6-fix-control-and-interrupt-message-timeouts.patch
queue-4.9/drm-udl-fix-control-message-timeout.patch
queue-4.9/mwifiex-fix-division-by-zero-in-fw-download-path.patch
queue-4.9/usb-serial-keyspan-fix-memleak-on-probe-errors.patch
queue-4.9/rtl8187-fix-control-message-timeouts.patch
queue-4.9/ath6kl-fix-division-by-zero-in-send-path.patch
queue-4.9/alsa-6fire-fix-control-and-bulk-message-timeouts.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux