]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop a broken 4.9 patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2018 15:43:59 +0000 (08:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2018 15:43:59 +0000 (08:43 -0700)
queue-4.9/drm-sun4i-rgb-fix-potential-division-by-zero.patch [deleted file]
queue-4.9/series

diff --git a/queue-4.9/drm-sun4i-rgb-fix-potential-division-by-zero.patch b/queue-4.9/drm-sun4i-rgb-fix-potential-division-by-zero.patch
deleted file mode 100644 (file)
index 5f06b5a..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-From foo@baz Wed May  2 10:53:11 PDT 2018
-From: Maxime Ripard <maxime.ripard@bootlin.com>
-Date: Wed, 21 Feb 2018 13:57:02 +0100
-Subject: drm/sun4i: rgb: Fix potential division by zero
-
-From: Maxime Ripard <maxime.ripard@bootlin.com>
-
-[ Upstream commit 5af894bd20fa16970378cae8ff55917294e0d9dd ]
-
-In the case where mode_valid callback of our RGB connector was called
-before mode_set was being called, the range of dividers would not be set,
-resulting in a division by zero later on in the clk_round_rate logic.
-
-Set the range of dividers before calling clk_round_rate to fix this.
-
-Reviewed-by: Chen-Yu Tsai <wens@csie.org>
-Tested-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
-Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
-Link: https://patchwork.freedesktop.org/patch/msgid/20180221125703.4595-2-maxime.ripard@bootlin.com
-Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/gpu/drm/sun4i/sun4i_rgb.c |    2 ++
- 1 file changed, 2 insertions(+)
-
---- a/drivers/gpu/drm/sun4i/sun4i_rgb.c
-+++ b/drivers/gpu/drm/sun4i/sun4i_rgb.c
-@@ -93,6 +93,8 @@ static int sun4i_rgb_mode_valid(struct d
-       DRM_DEBUG_DRIVER("Vertical parameters OK\n");
-+      tcon->dclk_min_div = 6;
-+      tcon->dclk_max_div = 127;
-       rounded_rate = clk_round_rate(tcon->dclk, rate);
-       if (rounded_rate < rate)
-               return MODE_CLOCK_LOW;
index 3a32f8d717a52c3c82e0d609050997f0e35f91ac..cfc938c38805bcc1cdfbe80c79f044dd8cd7b2ce 100644 (file)
@@ -176,7 +176,6 @@ batman-adv-fix-multicast-packet-loss-with-a-single-want_all_ipv4-6-flag.patch
 e1000e-fix-check_for_link-return-value-with-autoneg-off.patch
 e1000e-allocate-ring-descriptors-with-dma_zalloc_coherent.patch
 ia64-err-inject-use-get_user_pages_fast.patch
-drm-sun4i-rgb-fix-potential-division-by-zero.patch
 rdma-qedr-fix-kernel-panic-when-running-fio-over-nfsordma.patch
 rdma-qedr-fix-iwarp-write-and-send-with-immediate.patch
 scsi-mpt3sas-do-not-mark-fw_event-workqueue-as-wq_mem_reclaim.patch