From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:45106 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751152AbdH0Mha (ORCPT ); Sun, 27 Aug 2017 08:37:30 -0400 Subject: Patch "drm: rcar-du: lvds: Fix PLL frequency-related configuration" has been added to the 4.4-stable tree To: laurent.pinchart+renesas@ideasonboard.com, gregkh@linuxfoundation.org, nhan.nguyen.yb@renesas.com, thong.ho.px@rvc.renesas.com Cc: , From: Date: Sun, 27 Aug 2017 14:37:22 +0200 Message-ID: <1503837442284@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled drm: rcar-du: lvds: Fix PLL frequency-related configuration to the 4.4-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-rcar-du-lvds-fix-pll-frequency-related-configuration.patch and it can be found in the queue-4.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 5e1ac3bdc6bbb4f378251b87625b8acfbfc4ae82 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 7 Sep 2015 16:03:25 +0300 Subject: drm: rcar-du: lvds: Fix PLL frequency-related configuration From: Laurent Pinchart commit 5e1ac3bdc6bbb4f378251b87625b8acfbfc4ae82 upstream. The frequency checks don't match the datasheet, fix them. Signed-off-by: Laurent Pinchart Signed-off-by: Thong Ho Signed-off-by: Nhan Nguyen Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c +++ b/drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c @@ -56,11 +56,11 @@ static int rcar_du_lvdsenc_start(struct return ret; /* PLL clock configuration */ - if (freq <= 38000) + if (freq < 39000) pllcr = LVDPLLCR_CEEN | LVDPLLCR_COSEL | LVDPLLCR_PLLDLYCNT_38M; - else if (freq <= 60000) + else if (freq < 61000) pllcr = LVDPLLCR_CEEN | LVDPLLCR_COSEL | LVDPLLCR_PLLDLYCNT_60M; - else if (freq <= 121000) + else if (freq < 121000) pllcr = LVDPLLCR_CEEN | LVDPLLCR_COSEL | LVDPLLCR_PLLDLYCNT_121M; else pllcr = LVDPLLCR_PLLDLYCNT_150M; Patches currently in stable-queue which might be from laurent.pinchart+renesas@ideasonboard.com are queue-4.4/drm-rcar-du-lvds-rename-pllen-bit-to-pllon.patch queue-4.4/drm-rcar-du-fix-crash-in-encoder-failure-error-path.patch queue-4.4/drm-rcar-du-fix-h-v-sync-signal-polarity-configuration.patch queue-4.4/drm-rcar-du-fix-display-timing-controller-parameter.patch queue-4.4/drm-rcar-du-lvds-fix-pll-frequency-related-configuration.patch